Add syntax highlighting for nginx subpath example
This commit is contained in:
parent
26a5c665de
commit
9e7a908136
@ -354,7 +354,7 @@ follow these instructions:
|
|||||||
If hosting under a sub-path you might want to change the default nginx config (which gets mounted through the named volume from the application container into the nginx container)
|
If hosting under a sub-path you might want to change the default nginx config (which gets mounted through the named volume from the application container into the nginx container)
|
||||||
with the following config.
|
with the following config.
|
||||||
|
|
||||||
```
|
```nginx
|
||||||
location /my_app { # change to subfolder name
|
location /my_app { # change to subfolder name
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
proxy_pass https://mywebapp.com/; # change to your host name:port
|
proxy_pass https://mywebapp.com/; # change to your host name:port
|
||||||
@ -378,4 +378,4 @@ location /static/ {
|
|||||||
client_max_body_size 16M;
|
client_max_body_size 16M;
|
||||||
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user