mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix docker http2 config
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
http2 on;
|
||||
server_name ${NP_DOMAIN};
|
||||
|
||||
root /var/www/html/public;
|
||||
index index.php index.html;
|
||||
|
||||
ssl_certificate /certs/fullchain.pem;
|
||||
ssl_certificate_key /certs/privkey.pem;
|
||||
ssl_certificate_key /certs/private.pem;
|
||||
|
||||
location = /favicon.ico {
|
||||
log_not_found off;
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
http2 on;
|
||||
server_name ${PHPMYADMIN_SERVER_NAME};
|
||||
|
||||
ssl_certificate /certs/fullchain.pem;
|
||||
ssl_certificate_key /certs/privkey.pem;
|
||||
ssl_certificate_key /certs/private.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://phpmyadmin:80;
|
||||
|
||||
Reference in New Issue
Block a user