GilbN
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
5 deletions
-
README.md
|
@ -19,22 +19,22 @@ sub_filter_once on; |
|
|
``` |
|
|
``` |
|
|
Where `CUSTOM_CSS` is the name of the theme css. |
|
|
Where `CUSTOM_CSS` is the name of the theme css. |
|
|
Here is a complete example: |
|
|
Here is a complete example: |
|
|
<details><summary>Expand</summary> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<details><summary>Expand</summary> |
|
|
|
|
|
|
|
|
```nginx |
|
|
```nginx |
|
|
# REDIRECT HTTP TRAFFIC TO https://[domain.com] |
|
|
# REDIRECT HTTP TRAFFIC TO https://[domain.com] |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
server_name plpp.domain.com; |
|
|
server_name plpp.domain.com; |
|
|
return 301 https://$server_name$request_uri; |
|
|
return 301 https://$server_name$request_uri; |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 443 ssl http2; |
|
|
listen 443 ssl http2; |
|
|
server_name plpp.domain.com; |
|
|
server_name plpp.domain.com; |
|
|
|
|
|
|
|
|
#SSL settings |
|
|
#SSL settings |
|
|
include /config/nginx/ssl.conf |
|
|
include /config/nginx/ssl.conf |
|
|
|
|
|
|
|
|
location / { |
|
|
location / { |
|
|
proxy_pass http://192.168.1.2:8701; |
|
|
proxy_pass http://192.168.1.2:8701; |
|
|