Add proxy configuration for /docs endpoint

This commit is contained in:
Matteo Gheza 2024-02-24 17:05:15 +01:00
parent 1e8ebea502
commit 25645a1145
No known key found for this signature in database
GPG Key ID: A7019AD593CEF319
2 changed files with 12 additions and 1 deletions

View File

@ -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;
}
}

View File

@ -3,5 +3,10 @@
"target": "http://allertavvf.test/",
"secure": false,
"changeOrigin": true
},
"/docs": {
"target": "http://allertavvf.test/",
"secure": false,
"changeOrigin": true
}
}
}