Skip to content

Commit

Permalink
fix: nginx 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokkkkkk committed Jul 17, 2024
1 parent 8484d9b commit f16641a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions conf/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ server {
server_name syluv.store www.syluv.store;

location / {
proxy_pass http://localhost:80;
proxy_set_header Host $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;
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
}
}

0 comments on commit f16641a

Please sign in to comment.