mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Fix nginx config
This commit is contained in:
@@ -42,17 +42,15 @@ http {
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /docs {
|
||||
proxy_pass http://localhost:5000/docs;
|
||||
}
|
||||
location /redoc {
|
||||
proxy_pass http://localhost:5000/redoc;
|
||||
# OpenAPI for swagger and redoc
|
||||
location /openapi.json {
|
||||
proxy_pass http://localhost:5000;
|
||||
}
|
||||
|
||||
# Backend api calls
|
||||
location /api {
|
||||
rewrite /api/(.*) /$1 break;
|
||||
proxy_pass http://localhost:5000/;
|
||||
proxy_pass http://localhost:5000;
|
||||
}
|
||||
location /ws {
|
||||
proxy_pass http://localhost:5000;
|
||||
|
||||
Reference in New Issue
Block a user