ajout du proxy inverse
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user