Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
code:dokuwiki [2015/10/08 00:06]
::ffff:91.102.105.119
code:dokuwiki [2015/10/08 00:13]
::ffff:91.102.105.119
Line 77: Line 77:
    
 ==== php-fpm ==== ==== php-fpm ====
 +
 +<file nginx /etc/nginx/sites-available-notomorrow.de>
 +client_max_body_size 50m;
 +fastcgi_read_timeout 180;
 +         
 +map $http_x_forwarded_port $external_port { 
 +    default $http_x_forwarded_port; 
 +    '' $server_port; 
 +}        
 +map $http_x_forwarded_proto $external_proto { 
 +    '' $https; 
 +    'http' ''; 
 +    'https' 'on'; 
 +}        
 +         
 +server { 
 +        listen [::]:80 default;
 +        server_name notomorrow.de *.notomorrow.de;
 +                                                                                                                                                 
 +        error_log  /var/log/nginx/notomorrow.error.log;
 +        root   /srv/dokuwiki;
 +        index  index.php index.html;
 +         
 +        include        conf.d/status.inc;
 +        include        conf.d/public.inc;
 +        include        conf.d/dokuwiki.inc;
 +        include        conf.d/notomorrow.php.inc;
 +
 +</file>
 <file nginx /etc/nginx/conf.d/php.inc> <file nginx /etc/nginx/conf.d/php.inc>
 location ~ \.php$ { location ~ \.php$ {

Log In