mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-02 23:25:41 +00:00
UNMAINTAINED
This commit is contained in:
6
unmaintained/reverse/rootfs/nginx/sites-enabled/template
Normal file
6
unmaintained/reverse/rootfs/nginx/sites-enabled/template
Normal file
@ -0,0 +1,6 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name <frontend_domain>;
|
||||
include /nginx/conf.d/headers.conf;
|
||||
include /nginx/path.d/<frontend_domain>/*.conf;
|
||||
}
|
31
unmaintained/reverse/rootfs/nginx/sites-enabled/template_ssl
Normal file
31
unmaintained/reverse/rootfs/nginx/sites-enabled/template_ssl
Normal file
@ -0,0 +1,31 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name <frontend_domain>;
|
||||
|
||||
rewrite ^ https://<frontend_domain>:443$request_uri? permanent;
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
|
||||
listen 8443 ssl http2;
|
||||
server_name <frontend_domain>;
|
||||
index index.html index.php index.htm;
|
||||
|
||||
ssl_certificate /nginx/ssl/certificates/<frontend_domain>.crt;
|
||||
ssl_certificate_key /nginx/ssl/certificates/<frontend_domain>.key;
|
||||
ssl_trusted_certificate /nginx/ssl/certificates/<frontend_domain>.chain.pem;
|
||||
ssl_ct_static_scts /nginx/ssl/timestamps/<frontend_domain>;
|
||||
include /nginx/conf.d/ssl.conf;
|
||||
include /nginx/conf.d/headers.conf;
|
||||
include /nginx/conf.d/hsts.conf;
|
||||
include /nginx/conf.d/ocsp.conf;
|
||||
include /nginx/conf.d/ct.conf;
|
||||
|
||||
include /nginx/path.d/<frontend_domain>/*.conf;
|
||||
|
||||
location ~ /\.well-known/acme-challenge {
|
||||
root /nginx/www/<frontend_domain>;
|
||||
allow all;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user