Files
NoteNextra-origin/docker/nginx.conf
2025-10-24 15:58:12 -05:00

23 lines
730 B
Nginx Configuration File

# Example for conf.d/default.conf
server {
listen 80;
server_name localhost;
location /Math* {
proxy_pass http://notenextra-math:4201;
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 /CSE* {
proxy_pass http://notenextra-cse:4202;
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;
}
}