Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name forum.tanlup.local;
- access_log /var/log/nginx/tanlup.forum.access.log;
- error_log /var/log/nginx/tanlup.forum.error.log;
- rewrite_log on;
- root /home/eber/Público/www/trych_forum;
- index index.php index.html index.htm;
- location / {
- try_files $uri $uri/ /index.php?q=$request_uri;
- }
- # Pass the PHP scripts to FastCGI server
- # listening on 127.0.0.1:9000
- location ~ \.php$ {
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- fastcgi_intercept_errors on;
- #fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment