Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user http http;
- worker_processes 1;
- events {
- worker_connections 64;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- sendfile on;
- keepalive_timeout 80;
- server {
- disable_symlinks off;
- listen 80;
- server_name localhost pi.lan;
- root /srv/nginx;
- location / {
- index index.html index.htm index.php;
- }
- location /ps/ {
- fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
- fastcgi_index index.php;
- include fastcgi.conf;
- }
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/share/nginx/html;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment