Skip to content

Commit

Permalink
Merge pull request #29 from illacloud/CI/update_host
Browse files Browse the repository at this point in the history
fix: nginx config
  • Loading branch information
AruSeito authored Jan 3, 2024
2 parents 7e14d58 + 5b88209 commit 1e78ba1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions illa-website-frontend.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ server {
index index.html;
gzip on;

proxy_ssl_server_name on;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Accept-Encoding "";

sub_filter_once off;
location / {
try_files $uri $uri/ /index.html;
Expand Down

0 comments on commit 1e78ba1

Please sign in to comment.