18 lines
596 B
Plaintext
18 lines
596 B
Plaintext
# Include inside the existing TLS server for miem.space; preserve the /courses prefix.
|
|
location = /courses {
|
|
proxy_pass http://127.0.0.1:3011;
|
|
include /etc/nginx/proxy_params;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Forwarded-Host $host;
|
|
proxy_read_timeout 85s;
|
|
}
|
|
location ^~ /courses/ {
|
|
proxy_pass http://127.0.0.1:3011;
|
|
include /etc/nginx/proxy_params;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Forwarded-Host $host;
|
|
proxy_read_timeout 85s;
|
|
}
|