Skip to content

Instantly share code, notes, and snippets.

Created June 18, 2017 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/bf9502f3d259d4ef26f659d60e8a1d9f to your computer and use it in GitHub Desktop.
Save anonymous/bf9502f3d259d4ef26f659d60e8a1d9f to your computer and use it in GitHub Desktop.
NGINX
=====
server {
listen 80 default_server;
root /opt/molten/;
index index.html;
server_name gru.neutralisp.com;
location / {
try_files $uri /index.html;
}
}
CONFIG.JS
=========
/* eslint-disable */
window.CONFIG = {
APP_BASE_URL: '',
API_BASE_URL: '',
ASSET_BASE_URL: '/assets'
};
MASTER
======
rest_cherrypy:
port: 8000
host: 0.0.0.0
debug: True
disable_ssl: True
static: /opt/molten
static_path: /assets
app: /opt/molten/index.html
app_path: /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment