From 427ef022bb5bc9a28a707fbb1efe08a72286b7ab Mon Sep 17 00:00:00 2001 From: Kablersalat Date: Wed, 19 Mar 2025 01:10:02 +0100 Subject: less swearing and first public push --- config/nginx-emailproxy.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 config/nginx-emailproxy.conf (limited to 'config/nginx-emailproxy.conf') diff --git a/config/nginx-emailproxy.conf b/config/nginx-emailproxy.conf new file mode 100644 index 0000000..60ac318 --- /dev/null +++ b/config/nginx-emailproxy.conf @@ -0,0 +1,24 @@ +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; + } +} \ No newline at end of file -- cgit v1.2.3-70-g09d2