first commit
This commit is contained in:
commit
2eb8aac027
91 files changed
+20139
No files matched your search
@@ -0,0 +1,7 @@
|
||||
location /postfixadmin/ {
|
||||
proxy_pass http://127.0.0.1:8080/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# Environment overrides for PostfixAdmin-RS.
|
||||
# Nested TOML keys use double underscores, for example:
|
||||
# POSTFIXADMIN_RS__DATABASE__PASSWORD=change-me
|
||||
# RUST_LOG=postfixadmin_rs=info,tower_http=info
|
||||
@@ -0,0 +1,31 @@
|
||||
[Unit]
|
||||
Description=PostfixAdmin-RS mail administration panel
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=postfixadmin
|
||||
Group=postfixadmin
|
||||
WorkingDirectory=/var/lib/postfixadmin-rs
|
||||
Environment=POSTFIXADMIN_RS_CONFIG=/etc/postfixadmin-rs/config.toml
|
||||
EnvironmentFile=-/etc/default/postfixadmin-rs
|
||||
ExecStart=/usr/bin/postfixadmin-rs
|
||||
Restart=on-failure
|
||||
RestartSec=3s
|
||||
UMask=0077
|
||||
StateDirectory=postfixadmin-rs
|
||||
StateDirectoryMode=0750
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectHome=true
|
||||
ProtectSystem=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectControlGroups=true
|
||||
RestrictSUIDSGID=true
|
||||
LockPersonality=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user