ajout du proxy inverse

This commit is contained in:
am
2021-02-01 09:40:04 +01:00
parent 290e2866fe
commit afdd827df3
3 changed files with 33 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ services:
- MYSQL_PASSWORD=root
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
TZ: Europe/Paris
app:
image: nextcloud
@@ -31,3 +32,4 @@ services:
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
TZ: Europe/Paris

View File

@@ -24,7 +24,7 @@ server {
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://localhost:5678;
proxy_connect_timeout 900;
proxy_send_timeout 900;