Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
dinglonggang666 authored and pubuzhixing8 committed May 19, 2021
1 parent 5fd8298 commit 23cb783
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ server {
if ($request_filename ~ .*\.(htm|html)$) {
add_header Cache-Control no-cache;
}
try_files $uri $uri/ /index.html;
port_in_redirect off;
proxy_redirect off;
proxy_set_header Host $host;
Expand Down

0 comments on commit 23cb783

Please sign in to comment.