Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name icebrg.us iostrea.me corton.iostrea.me localhost;
- #charset koi8-r;
- #access_log logs/host.access.log main;
- root /srv/http/default;
- location / {
- index index.html index.htm index.php;
- }
- location /wiki {
- index doku.php;
- }
- location /w {
- index index.php;
- try_files $uri $uri/ /w/index.php?title=$1&$2;
- }
- location ~ \.php$ {
- try_files $uri $uri/ =404;
- include fastcgi_params;
- fastcgi_pass /var/run/php-fpm/php-fpm.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- }
- }
Add Comment
Please, Sign In to add comment