Skip to content

Commit

Permalink
add nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
linomp committed Dec 6, 2023
1 parent bdafa62 commit b7f00a6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pointless-api.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
server {
listen 80;
server_name pointless-api.xmp.systems;

location / {
proxy_pass http://127.0.0.1:8001; # Change this to the address where your app is running
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 b7f00a6

Please sign in to comment.