* chore: add files and config to run on VPS and test locally * chore: add missing nginx files left behind * chore: rename workflow files
25 lines
609 B
Nginx Configuration File
25 lines
609 B
Nginx Configuration File
events {}
|
|
http {
|
|
server {
|
|
listen 8181;
|
|
server_name _;
|
|
|
|
location /api/ {
|
|
proxy_pass http://tasknote-api:8585/;
|
|
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;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://tasknote-web:5000/;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|