Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- root /home/nextcloud/www;
- server_name nc.oxodao.fr www.nc.oxodao.fr;
- index index.php index.html;
- error_log /home/nextcloud/error.log warn;
- access_log /home/nextcloud/access.log ;
- location / {
- try_files $uri $uri/ =404;
- }
- location ~ \.php$ {
- include snippets/fastcgi-php.conf;
- #
- # # With php5-cgi alone:
- # fastcgi_pass 127.0.0.1:9000;
- # # With php5-fpm:
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- }
- location ~ /\.ht {
- deny all;
- }
- location ~ /.well-known {
- allow all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement