Add syntax highlighting for nginx subpath example

This commit is contained in:
MaxJa4 2022-02-18 13:23:51 +01:00 committed by GitHub
parent 26a5c665de
commit 9e7a908136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) 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;
} }
``` ```