Update README.md
This commit is contained in:
parent
060971e295
commit
f2efb3c889
10
README.md
10
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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user