Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revisionBoth sides next revision | ||
| code:dokuwiki [2015/10/08 00:06] ::ffff:91.102.105.119 | code:dokuwiki [2017/11/18 17:00] (current) ::ffff:85.181.5.238 | ||
|---|---|---|---|
| Line 77: | Line 77: | ||
| ==== php-fpm ==== | ==== php-fpm ==== | ||
| + | for reverse proxy setup see [[.: | ||
| + | <file nginx / | ||
| + | client_max_body_size 50m; | ||
| + | fastcgi_read_timeout 180; | ||
| + | |||
| + | ## needed because of the reverse proxy | ||
| + | ## x_forwarded port ans stuff is set there | ||
| + | | ||
| + | map $http_x_forwarded_port $external_port { | ||
| + | default $http_x_forwarded_port; | ||
| + | '' | ||
| + | } | ||
| + | map $http_x_forwarded_proto $external_proto { | ||
| + | '' | ||
| + | ' | ||
| + | ' | ||
| + | } | ||
| + | |||
| + | server { | ||
| + | listen [::]:80 default; | ||
| + | server_name notomorrow.de *.notomorrow.de; | ||
| + | |||
| + | error_log | ||
| + | root / | ||
| + | index index.php index.html; | ||
| + | |||
| + | include | ||
| + | include | ||
| + | include | ||
| + | include | ||
| + | } | ||
| + | </ | ||
| <file nginx / | <file nginx / | ||
| location ~ \.php$ { | location ~ \.php$ { | ||