We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 758b271 commit 421b729Copy full SHA for 421b729
examples/pelit.conf
@@ -0,0 +1,35 @@
1
+server {
2
+ listen 443 ssl;
3
+ http2 on;
4
+ server_name example.com;
5
+
6
+ ssl_certificate /path/to/cert;
7
+ ssl_certificate_key /path/to/key;
8
9
+ root /var/www/pelit;
10
11
+ location / {
12
+ try_files $uri =404;
13
+ }
14
+}
15
16
17
18
19
+ server_name example2.com;
20
21
22
23
24
25
+ proxy_pass http://pelit:8000;
26
+ proxy_set_header Host $host;
27
+ proxy_set_header X-Real-IP $remote_addr;
28
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
29
+ proxy_set_header X-Forwarded-Proto $scheme;
30
31
+ proxy_connect_timeout 60s;
32
+ proxy_send_timeout 60s;
33
+ proxy_read_timeout 60s;
34
35
0 commit comments