Замена wordpdf-cli на Spring Boot REST API: wordpdf-app, SPA wordpdf-web, docker-compose
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 80;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
# без него upload >1MB режется HTML-413 от nginx до бэкенда
|
||||
client_max_body_size 6m;
|
||||
location /api/ { proxy_pass http://app:8080; }
|
||||
location /swagger-ui { proxy_pass http://app:8080; }
|
||||
location /v3/api-docs { proxy_pass http://app:8080; }
|
||||
location / { try_files $uri $uri/ /index.html; }
|
||||
}
|
||||
Reference in New Issue
Block a user