Changed Structure to reflect actual use

This commit is contained in:
Christian Risi
2025-06-25 18:01:05 +02:00
parent 7bb81c3e40
commit 257b29cf00
12 changed files with 11 additions and 2 deletions

37
nginx/http/conf.example Normal file
View File

@@ -0,0 +1,37 @@
# Example conf
# Example TLS endpoint
server {
listen PORT ssl;
more_clear_headers Server;
location / {
proxy_pass http://localhost:8080;
}
ssl_certificate /services-keys/Example/cert.pem;
ssl_certificate_key /services-keys/Example/key.pem;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
}
# Example Termination endpoint
server {
more_clear_headers Server;
listen 127.0.0.1:8080;
# Here put the service you need
location / {
proxy_pass https://127.0.0.1:PORT;
}
}