nginx-emailproxy.conf 523 B

1234567891011121314151617181920212223
  1. server {
  2. listen 8080;
  3. server_name _;
  4. root /var/www/emailproxy-ui;
  5. index index.php;
  6. access_log /home/crt/helper-emailproxy/logs/nginx/nginx-access.log;
  7. error_log /home/crt/helper-emailproxy/logs/nginx/nginx-error.log;
  8. location / {
  9. try_files $uri $uri/ =404;
  10. }
  11. location ~ \.php$ {
  12. include snippets/fastcgi-php.conf;
  13. fastcgi_pass unix:/run/php/php8.2-fpm.sock; # maybe ajust this if u got older version yk
  14. }
  15. location ~ /\.ht {
  16. deny all;
  17. }
  18. }