initial commit
This commit is contained in:
@@ -1,43 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 80 proxy_protocol;
|
|
||||||
server_name bitwarden.format.hu;
|
|
||||||
set_real_ip_from 0.0.0.0/0;
|
|
||||||
real_ip_header proxy_protocol;
|
|
||||||
rewrite_log on;
|
|
||||||
return 301 https://bitwarden.format.hu;
|
|
||||||
}
|
|
||||||
server {
|
|
||||||
listen 443 ssl proxy_protocol;
|
|
||||||
set_real_ip_from 0.0.0.0/0;
|
|
||||||
real_ip_header proxy_protocol;
|
|
||||||
server_name bitwarden.format.hu;
|
|
||||||
client_max_body_size 512M;
|
|
||||||
rewrite_log on;
|
|
||||||
proxy_ssl_server_name on;
|
|
||||||
ssl_dhparam /etc/ssl/keys/bitwarden.format.hu/dhparam.pem;
|
|
||||||
ssl_certificate /etc/ssl/keys/bitwarden.format.hu/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/ssl/keys/bitwarden.format.hu/key.pem;
|
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
||||||
ssl_prefer_server_ciphers on;
|
|
||||||
ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4 !kDHE";
|
|
||||||
ssl_session_cache shared:SSL:50m;
|
|
||||||
ssl_session_timeout 5m;
|
|
||||||
ssl_stapling on;
|
|
||||||
location / {
|
|
||||||
proxy_pass http://bitwardenapp:80;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_cookie_path / /;
|
|
||||||
proxy_set_header Connection $http_connection;
|
|
||||||
proxy_connect_timeout 300;
|
|
||||||
proxy_send_timeout 300;
|
|
||||||
proxy_read_timeout 300;
|
|
||||||
proxy_next_upstream off;
|
|
||||||
access_log off;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_buffering off;
|
|
||||||
}
|
|
||||||
}
|
|
115
nginx/config
115
nginx/config
@@ -1,115 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -1,43 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 80 proxy_protocol;
|
|
||||||
server_name doc.fat.hu;
|
|
||||||
set_real_ip_from 0.0.0.0/0;
|
|
||||||
real_ip_header proxy_protocol;
|
|
||||||
rewrite_log on;
|
|
||||||
return 301 https://doc.fat.hu;
|
|
||||||
}
|
|
||||||
server {
|
|
||||||
listen 443 ssl proxy_protocol;
|
|
||||||
set_real_ip_from 0.0.0.0/0;
|
|
||||||
real_ip_header proxy_protocol;
|
|
||||||
server_name doc.fat.hu;
|
|
||||||
client_max_body_size 512M;
|
|
||||||
rewrite_log on;
|
|
||||||
proxy_ssl_server_name on;
|
|
||||||
ssl_dhparam /etc/ssl/keys/doc.fat.hu/dhparam.pem;
|
|
||||||
ssl_certificate /etc/ssl/keys/doc.fat.hu/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/ssl/keys/doc.fat.hu/key.pem;
|
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
||||||
ssl_prefer_server_ciphers on;
|
|
||||||
ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4 !kDHE";
|
|
||||||
ssl_session_cache shared:SSL:50m;
|
|
||||||
ssl_session_timeout 5m;
|
|
||||||
ssl_stapling on;
|
|
||||||
location / {
|
|
||||||
proxy_pass http://nextcloudnginx:80;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_cookie_path / /;
|
|
||||||
proxy_set_header Connection $http_connection;
|
|
||||||
proxy_connect_timeout 300;
|
|
||||||
proxy_send_timeout 300;
|
|
||||||
proxy_read_timeout 300;
|
|
||||||
proxy_next_upstream off;
|
|
||||||
access_log off;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_buffering off;
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,44 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 80 proxy_protocol;
|
|
||||||
server_name remote.fat.hu;
|
|
||||||
set_real_ip_from 0.0.0.0/0;
|
|
||||||
real_ip_header proxy_protocol;
|
|
||||||
rewrite_log on;
|
|
||||||
return 301 https://remote.fat.hu;
|
|
||||||
}
|
|
||||||
server {
|
|
||||||
listen 443 ssl proxy_protocol;
|
|
||||||
set_real_ip_from 0.0.0.0/0;
|
|
||||||
real_ip_header proxy_protocol;
|
|
||||||
server_name remote.fat.hu;
|
|
||||||
client_max_body_size 512M;
|
|
||||||
rewrite_log on;
|
|
||||||
proxy_ssl_server_name on;
|
|
||||||
ssl_dhparam /etc/ssl/keys/remote.fat.hu/dhparam.pem;
|
|
||||||
ssl_certificate /etc/ssl/keys/remote.fat.hu/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/ssl/keys/remote.fat.hu/key.pem;
|
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
||||||
ssl_prefer_server_ciphers on;
|
|
||||||
ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4 !kDHE";
|
|
||||||
ssl_session_cache shared:SSL:50m;
|
|
||||||
ssl_session_timeout 5m;
|
|
||||||
ssl_stapling on;
|
|
||||||
location / {
|
|
||||||
proxy_pass http://guacamoletomcat:8080/guacamole/;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_cookie_path / /;
|
|
||||||
proxy_set_header Connection $http_connection;
|
|
||||||
proxy_connect_timeout 300;
|
|
||||||
proxy_send_timeout 300;
|
|
||||||
proxy_read_timeout 300;
|
|
||||||
proxy_next_upstream off;
|
|
||||||
access_log off;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_buffering off;
|
|
||||||
}
|
|
||||||
# first location end
|
|
||||||
}
|
|
Reference in New Issue
Block a user