Skip to content

Commit

Permalink
hotfix: hide port
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellol77 committed Jun 27, 2024
1 parent 4e82585 commit 786b360
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@

server {
listen 80;
root /usr/share/nginx/html;
index index.html index.html;
server_name waggle-pet.com;
location / {
root /usr/share/nginx/html;
index index.html index.html;
try_files $uri $uri/ /index.html;
proxy_set_header HOST $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:3001;
proxy_redirect off;

}

Expand Down

0 comments on commit 786b360

Please sign in to comment.