diff --git a/docker_nginx/default.conf b/docker_nginx/default.conf index fa56732..eaa7ad0 100644 --- a/docker_nginx/default.conf +++ b/docker_nginx/default.conf @@ -13,4 +13,10 @@ server { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } + + location /docs { + proxy_pass http://backend:80; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } } diff --git a/frontend/proxy.conf.json b/frontend/proxy.conf.json index 0fb5f72..e31347c 100644 --- a/frontend/proxy.conf.json +++ b/frontend/proxy.conf.json @@ -3,5 +3,10 @@ "target": "http://allertavvf.test/", "secure": false, "changeOrigin": true + }, + "/docs": { + "target": "http://allertavvf.test/", + "secure": false, + "changeOrigin": true } -} \ No newline at end of file +}