-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf
56 lines (45 loc) · 1.46 KB
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
server {
listen 80;
server_name localhost;
location / {
allow all;
add_header Allow 'GET, POST, PUT, PATCH, DELETE' always;
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
# Additional server configurations if needed
}
server {
listen 443 ssl;
server_name uat-web.propertycontrol360.com;
ssl_certificate /etc/letsencrypt/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers 'TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384';
ssl_prefer_server_ciphers on;
# Other SSL/TLS settings...
location / {
allow all;
add_header Allow 'GET, POST, PUT, PATCH, DELETE' always;
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
# location ~* ^/api {
# proxy_pass http://172.17.0.3:3000;
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection 'upgrade';
# proxy_set_header Host $host;
# proxy_cache_bypass $http_upgrade;
# }
location /VerifyEmailAddress {
alias /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
}
location /ResetPassword {
alias /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
}
}