mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
proxy swagger
This commit is contained in:
@@ -21,6 +21,11 @@ server {
|
|||||||
proxy_pass $API_URL;
|
proxy_pass $API_URL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /swagger {
|
||||||
|
proxy_pass_request_headers on;
|
||||||
|
proxy_pass $API_URL;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
Reference in New Issue
Block a user