Page MenuHomeDevCentral

mail.conf
No OneTemporary

mail.conf

# -------------------------------------------------------------
# Webserver
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Site: mail.nasqueron.org
# License: Trivial work, not eligible to copyright
# Source file: roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/mail.conf
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
# -------------------------------------------------------------
# Main site
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
server {
server_name mail.nasqueron.org;
include includes/tls;
ssl_certificate /var/certificates/mail.nasqueron.org/fullchain.pem;
ssl_certificate_key /var/certificates/mail.nasqueron.org/key.pem;
error_log /var/log/www/nasqueron.org/mail-error.log;
access_log /var/log/www/nasqueron.org/mail-access.log;
include includes/letsencrypt;
root /var/wwwroot/nasqueron.org/mail;
index index.html index.php index.htm;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Robots-Tag "none" always;
add_header X-Download-Options "noopen" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header Referrer-Policy "no-referrer" always;
add_header X-Frame-Options "SAMEORIGIN" always;
location /snappymail {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/web/mail.nasqueron.org/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include includes/fastcgi;
}
}
# -------------------------------------------------------------
# Redirect
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
server {
listen 80;
listen [::]:80;
server_name mail.nasqueron.org;
return 301 https://mail.nasqueron.org$request_uri;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 6, 05:13 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4272679
Default Alt Text
mail.conf (2 KB)

Event Timeline