diff --git a/nginx.conf b/nginx.conf index 770b003..2c8c339 100644 --- a/nginx.conf +++ b/nginx.conf @@ -89,6 +89,12 @@ http { index index.html index.htm; } + location = /blog { + proxy_pass http://jmalcloud:8088/articles; + proxy_set_header Host $proxy_host; + proxy_set_header X-real-ip $remote_addr; + } + location = /blog/ { proxy_pass http://jmalcloud:8088/articles; proxy_set_header Host $proxy_host;