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