| 123456789101112131415161718192021222324 |
- crt@tc-rafisa-eproxy ~/helper-emailproxy (main)> cat /etc/nginx/conf.d/emailproxy-ui.conf
- server {
- listen 8080;
- server_name _;
- root /var/www/emailproxy-ui;
- index index.php;
- access_log /home/crt/helper-emailproxy/logs/nginx/nginx-access.log;
- error_log /home/crt/helper-emailproxy/logs/nginx/nginx-error.log;
- location / {
- try_files $uri $uri/ =404;
- }
- location ~ \.php$ {
- include snippets/fastcgi-php.conf;
- fastcgi_pass unix:/run/php/php8.2-fpm.sock; # maybe ajust this if u got older version yk
- }
- location ~ /\.ht {
- deny all;
- }
- }
|