Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name domain.se;
- rewrite ^/(.*) http://www.domain.se/$1 permanent;
- }
- server {
- listen 80;
- server_name www.domain.se;
- access_log off;
- error_log /home/johan/http/logs/domain.se.log;
- index index.html index.php;
- root /home/johan/http/hosts/domain.se;
- include /etc/nginx/conf.d/cache.conf;
- include /etc/nginx/conf.d/deny.conf;
- include /etc/nginx/php.d/johan.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement