Merge pull request #1554 from MaxJa4/patch-1

[Docs] Add syntax highlighting for nginx subpath example
This commit is contained in:
vabene1111
2022-02-18 13:46:08 +01:00
committed by GitHub

View File

@@ -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)
with the following config.
```
```nginx
location /my_app { # change to subfolder name
include /config/nginx/proxy.conf;
proxy_pass https://mywebapp.com/; # change to your host name:port
@@ -371,11 +371,10 @@ location /media/ {
}
location /static/ {
include /config/nginx/proxy.conf;
alias /staticfiles/;
client_max_body_size 16M;
}
```
```