mirror of
https://github.com/yavook/kiwi-nextcloud.git
synced 2025-12-06 18:33:00 +00:00
Update nginx.conf.patch test 2
This commit is contained in:
parent
59efc6a72f
commit
49f682687f
1 changed files with 6 additions and 10 deletions
|
|
@ -1,19 +1,15 @@
|
||||||
--- a/nginx.conf 2022-03-10 00:55:28.560012495 +0100
|
--- a/nginx.conf
|
||||||
+++ b/nginx.conf 2022-03-10 01:13:07.179416962 +0100
|
+++ b/nginx.conf
|
||||||
@@ -27,9 +27,15 @@
|
@@ -26,6 +26,12 @@
|
||||||
#gzip on;
|
|
||||||
|
|
||||||
upstream php-handler {
|
upstream php-handler {
|
||||||
- server app:9000;
|
server app:9000;
|
||||||
+ server 127.0.0.1:9000;
|
|
||||||
}
|
}
|
||||||
|
+
|
||||||
+ set_real_ip_from 10.0.0.0/8;
|
+ set_real_ip_from 10.0.0.0/8;
|
||||||
+ set_real_ip_from 172.16.0.0/12;
|
+ set_real_ip_from 172.16.0.0/12;
|
||||||
+ set_real_ip_from 192.168.0.0/16;
|
+ set_real_ip_from 192.168.0.0/16;
|
||||||
+ real_ip_header X-Forwarded-For;
|
+ real_ip_header X-Forwarded-For;
|
||||||
+ real_ip_recursive on;
|
+ real_ip_recursive on;
|
||||||
+
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue