nginx-emailproxy.conf 613 B

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