Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoulSKY committed Dec 1, 2024
1 parent 529b1c1 commit 83cfd68
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
server {
listen 80;
listen [::]:80;

server_name sorusora.seoulsky.dev;

location / {
proxy_pass http://localhost:8000;
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;
events {
worker_connections 1024;
}

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

server {
listen 80;
listen [::]:80;

server_name sorusora.seoulsky.dev;

location / {
proxy_pass http://localhost:8000;
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;
}
}
}

0 comments on commit 83cfd68

Please sign in to comment.