nginx setup and make
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
error_log /var/log/nginx/mnml.nginx.log debug;
|
||||
|
||||
upstream mnml {
|
||||
server 127.0.0.1:40000;
|
||||
}
|
||||
@@ -9,10 +11,9 @@ map $http_upgrade $connection_upgrade {
|
||||
|
||||
# DEV
|
||||
server {
|
||||
root /var/lib/mnml/public/;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
root /var/lib/mnml/public/dist;
|
||||
index index.html;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user