Update default.conf

parent 8087dd12
......@@ -18,6 +18,8 @@ server {
root /usr/share/nginx/html;
location /SERVICE_NAME/ {
add_header Content-Type: text/plain;
add_header Access-Control-Allow-Origin *;
try_files $uri $uri/ /SERVICE_NAME/index.html?$query_string;
# index /usr/share/nginx/html/SERVICE_NAME/index.html?$query_string;
# try_files $uri $uri/ =404;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment