Update default.conf

parent 63573c2e
......@@ -18,6 +18,8 @@ server {
root /usr/share/nginx/html;
location /projectx1/ {
add_header Content-Type: text/plain;
add_header Access-Control-Allow-Origin *;
try_files $uri $uri/ /projectx1/index.html?$query_string;
}
......
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