Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name iac.e451.net;
- access_log /srv/www/iac.e451.net/logs/access.log;
- error_log /srv/www/iac.e451.net/logs/error.log;
- root /srv/www/iac.e451.net;
- # Add index.php to the list if you are using PHP
- index index.html index.htm;
- charset utf-8;
- location / {
- # First attempt to serve request as file, then
- # as directory, then fall back to displaying a 404.
- try_files $uri $uri/ =404;
- autoindex on;
- }
- # deny access to .htaccess files, if Apache's document root
- # concurs with nginx's one
- #
- #location ~ /\.ht {
- # deny all;
- #}
- }
- # Virtual Host configuration for example.com
- #
- # You can move that to a different file under sites-available/ and symlink that
- # to sites-enabled/ to enable it.
- #
- #server {
- # listen 80;
- # listen [::]:80;
- #
- # server_name example.com;
- #
- # root /var/www/example.com;
- # index index.html;
- #
- # location / {
- # try_files $uri $uri/ =404;
- # }
- #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement