Correcting nginx configuration for prod
This commit is contained in:
@@ -30,7 +30,7 @@ http {
|
|||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /usr/share/nginx/html/index.html =404;
|
try_files $uri $uri/ /index.html?$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* ^.+\.css$ {
|
location ~* ^.+\.css$ {
|
||||||
|
|||||||
Reference in New Issue
Block a user