Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: services configuration for proxy on off1 (nginx, prometheus etc.) #356

Merged
merged 3 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Unit]
[email protected]
1 change: 1 addition & 0 deletions confs/off1-reverse-proxy/systemd/system/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Unit]
[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Service]
# let nginx refine this
LimitNOFILE=65535

[Unit]
[email protected]
Restart=always
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Service]
# ONLY listen on 127.0.0.1 for security reasons
Environment="LISTEN_ADDRESS=10.1.0.100:9113"
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
# email on failures
OnFailure=email-failures@stunnel__%i.service

[Service]
# we need to enable putting pit file in runtime directory, with right permissions
# while still starting as root (needed by stunnel)
Group=stunnel4
RuntimeDirectory=stunnel-%i
RuntimeDirectoryMode=0775
2 changes: 1 addition & 1 deletion confs/off2-reverse-proxy/systemd/system/[email protected]