Advertisement
Guest User

Untitled

a guest
May 6th, 2021
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name sub.example.com;
  4.  
  5. access_log /var/www/postfixadmin/log/access.log main;
  6. error_log /var/www/postfixadmin/log/error.log;
  7.  
  8. location ^~ /admin {
  9. alias /var/www/postfixadmin/postfixadmin;
  10. index index.php;
  11.  
  12.  
  13. location ~ \.php$ {
  14. try_files $uri =404;
  15. fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
  16. fastcgi_index index.php;
  17. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  18. include fastcgi_params;
  19. }
  20. }
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement