Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- more /etc/nginx/sites-enabled/diaspora
- server {
- listen 443;
- server_name ownid.org;
- ssl on;
- ssl_certificate /root/diaspora/server.crt;
- ssl_certificate_key /root/diaspora/server.key;
- access_log /var/log/nginx/ownid.org.access.log;
- location / {
- root /var/www;
- index index.php index.html index.htm;
- }
- # 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_param SCRIPT_FILENAME /var/www$fastcgi_script_name;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement