added new vhost pma.realm.local
This commit is contained in:
@@ -950,6 +950,7 @@ maybe chmod 0644 'nginx/sites-available/nodered.realm.local.conf'
|
||||
maybe chmod 0644 'nginx/sites-available/ntopng.realm.local.conf'
|
||||
maybe chmod 0644 'nginx/sites-available/paperless.realm.local.conf'
|
||||
maybe chmod 0644 'nginx/sites-available/photoprism.realm.local.conf'
|
||||
maybe chmod 0644 'nginx/sites-available/pma.realm.local'
|
||||
maybe chmod 0644 'nginx/sites-available/portainer.realm.local.conf'
|
||||
maybe chmod 0755 'nginx/sites-enabled'
|
||||
maybe chmod 0755 'nginx/snippets'
|
||||
@@ -984,6 +985,9 @@ maybe chmod 0600 'nginx/ssl/certs/paperless.realm.local/key.pem'
|
||||
maybe chmod 0700 'nginx/ssl/certs/photoprism.realm.local'
|
||||
maybe chmod 0600 'nginx/ssl/certs/photoprism.realm.local/cert.pem'
|
||||
maybe chmod 0600 'nginx/ssl/certs/photoprism.realm.local/key.pem'
|
||||
maybe chmod 0700 'nginx/ssl/certs/pma.realm.local'
|
||||
maybe chmod 0600 'nginx/ssl/certs/pma.realm.local/cert.pem'
|
||||
maybe chmod 0600 'nginx/ssl/certs/pma.realm.local/key.pem'
|
||||
maybe chmod 0700 'nginx/ssl/certs/portainer.realm.local'
|
||||
maybe chmod 0600 'nginx/ssl/certs/portainer.realm.local/cert.pem'
|
||||
maybe chmod 0600 'nginx/ssl/certs/portainer.realm.local/key.pem'
|
||||
|
||||
@@ -1 +1 @@
|
||||
{'protocol': 'http', 'installed_aghash': 'e68e74c9dc20ac3c', 'last_error': "HTTPConnectionPool(host='192.168.0.99', port=80): Max retries exceeded with url: /realm/check_mk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75e1c790>: Failed to establish a new connection: [Errno 113] No route to host'))", 'site': 'realm', 'last_check': 1666964479.5126088, 'host_name': 'serviceraspi.realm.local', 'server': '192.168.0.99', 'last_update': 1666964417.1062086, 'host_secret': 'pntxhkgisefetedlluhmbneceelnviymvmrfcsaezocoirlcjurakqmfhjuunxlv', 'user': 'caelebfi', 'pending_hash': None}
|
||||
{'protocol': 'http', 'installed_aghash': 'e68e74c9dc20ac3c', 'last_error': "HTTPConnectionPool(host='192.168.0.99', port=80): Max retries exceeded with url: /realm/check_mk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75df9790>: Failed to establish a new connection: [Errno 113] No route to host'))", 'site': 'realm', 'last_check': 1666964479.5126088, 'host_name': 'serviceraspi.realm.local', 'server': '192.168.0.99', 'last_update': 1666964417.1062086, 'host_secret': 'pntxhkgisefetedlluhmbneceelnviymvmrfcsaezocoirlcjurakqmfhjuunxlv', 'user': 'caelebfi', 'pending_hash': None}
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
server {
|
||||
listen *:80;
|
||||
|
||||
|
||||
server_name pma.realm.local;
|
||||
|
||||
|
||||
index index.html index.htm index.php;
|
||||
access_log /var/log/nginx/pma.realm.local.access.log combined;
|
||||
error_log /var/log/nginx/pma.realm.local.error.log;
|
||||
|
||||
location / {
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen *:443 ssl;
|
||||
|
||||
|
||||
server_name pma.realm.local;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/certs/pma.realm.local/cert.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/certs/pma.realm.local/key.pem;
|
||||
ssl_protocols TLSv1.2;
|
||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK;
|
||||
|
||||
index index.html index.htm index.php;
|
||||
access_log /var/log/nginx/ssl-pma.realm.local.access.log combined;
|
||||
error_log /var/log/nginx/ssl-pma.realm.local.error.log;
|
||||
|
||||
client_max_body_size 10M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.0.123:8081;
|
||||
|
||||
# These configuration options are required for WebSockets to work.
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $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-Host $server_name;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin";
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
/etc/nginx/sites-available/pma.realm.local
|
||||
@@ -0,0 +1,20 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDODCCAiCgAwIBAgIIPyRXLZjDwBswDQYJKoZIhvcNAQELBQAwIDEeMBwGA1UE
|
||||
AxMVbWluaWNhIHJvb3QgY2EgN2ViYWMyMB4XDTIzMTEyMDEzMjY0NVoXDTI1MTIy
|
||||
MDEzMjY0NVowGjEYMBYGA1UEAxMPcG1hLnJlYWxtLmxvY2FsMIIBIjANBgkqhkiG
|
||||
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAml6jBRBprwkdryYWk9+B8+LorBTEwYmpQX8r
|
||||
+NmPlvVoGK+TEoU4QFv+LfOV7mmfY/XeiDBpUcoVolLG1oyX0T38tQG5qOzQXQ3h
|
||||
wTnSoynJUxnOpUwL1DWEk3vbyE9WYHwhoYonaOf/o0H0XzSqrYo4dqs3J5/Wb2mA
|
||||
pAJ4L7+FErq2GNhq0LuVvX2y+bVSXmZH0C5OsUQ4SchE9NraNYMTEYB5XXiMqn5V
|
||||
qwNSJAe962NFAruI7iB6/Ow+Rk4A6T90ohgEHBZWamLC/A+JqH/96X0COm6VPey3
|
||||
P9Wr73seGAbmAd57eOZ5dEKZVs/LAjq+PL7ZiszdW5gEY5ErYQIDAQABo3wwejAO
|
||||
BgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwF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tcoqwKPNEe
|
||||
SuOhAoGBAJOcbTIl9RVYAB+NyO60keFJVgzERAQwQLhLJXt/wOEE8euygk1fAG0/
|
||||
kjqNnuTq+bZQFVLOo8aKGT84f2qwbNpyre4Ro6yu3xZCGU88pt073Sey6bqvEB0U
|
||||
wnusyFaV1mbcz8GMg0Abj+IMVV2v2X+tdk76zpHu9yixUn5ojXCR
|
||||
-----END RSA PRIVATE KEY-----
|
||||
Reference in New Issue
Block a user