File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ events {
2
+
3
+ }
4
+
5
+ http {
6
+ server {
7
+ listen 443 ssl;
8
+
9
+ ssl_certificate /Users/shamanec/Documents/server.crt;
10
+ ssl_certificate_key /Users/shamanec/Documents/server.key;
11
+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
12
+
13
+ location / {
14
+ proxy_pass http://192.168.1.28:10000/;
15
+ proxy_set_header X-Real-IP $remote_addr;
16
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
17
+ proxy_set_header X-Forwarded-Proto $scheme;
18
+ proxy_http_version 1.1;
19
+ proxy_set_header Upgrade $http_upgrade;
20
+ proxy_set_header Connection "Upgrade";
21
+ }
22
+
23
+ location /static/ {
24
+ proxy_pass http://192.168.1.28:10000/static/;
25
+ proxy_set_header X-Real-IP $remote_addr;
26
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
27
+ proxy_set_header X-Forwarded-Proto $scheme;
28
+ proxy_http_version 1.1;
29
+ }
30
+ }
31
+ }
You can’t perform that action at this time.
0 commit comments