We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2f6ead commit 09c0605Copy full SHA for 09c0605
docker/nginx/nginx.conf
@@ -12,7 +12,13 @@ server {
12
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
13
proxy_set_header X-Forwarded-Host $server_name;
14
}
15
-
+ location ~ /about/ {
16
+ proxy_pass http://docker_fastapi;
17
+ proxy_set_header Host $host;
18
+ proxy_set_header X-Real-IP $remote_addr;
19
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
20
+ proxy_set_header X-Forwarded-Host $server_name;
21
+ }
22
location / {
23
root /usr/share/nginx/html;
24
index index.html index.htm;
0 commit comments