Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. more /etc/nginx/sites-enabled/diaspora
  2. server {
  3. listen 443;
  4. server_name ownid.org;
  5. ssl on;
  6. ssl_certificate /root/diaspora/server.crt;
  7. ssl_certificate_key /root/diaspora/server.key;
  8. access_log /var/log/nginx/ownid.org.access.log;
  9. location / {
  10. root /var/www;
  11. index index.php index.html index.htm;
  12. }
  13. # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  14. #
  15. location ~ \.php$ {
  16. fastcgi_pass 127.0.0.1:9000;
  17. fastcgi_index index.php;
  18. fastcgi_param SCRIPT_FILENAME /var/www$fastcgi_script_name;
  19. include fastcgi_params;
  20. }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement