Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name domain.se;
  4.  
  5. rewrite ^/(.*) http://www.domain.se/$1 permanent;
  6. }
  7.  
  8. server {
  9. listen 80;
  10. server_name www.domain.se;
  11.  
  12. access_log off;
  13. error_log /home/johan/http/logs/domain.se.log;
  14. index index.html index.php;
  15. root /home/johan/http/hosts/domain.se;
  16.  
  17. include /etc/nginx/conf.d/cache.conf;
  18. include /etc/nginx/conf.d/deny.conf;
  19. include /etc/nginx/php.d/johan.conf;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement