This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
centos_nginx_backuppc4.x [2018/02/15 18:20] k2patel [Configuration] |
centos_nginx_backuppc4.x [2018/02/15 18:22] k2patel [Configuration] |
||
---|---|---|---|
Line 136: | Line 136: | ||
server { | server { | ||
listen 80; | listen 80; | ||
- | server_name ngee-vm2.ornl.gov; | + | server_name backup.k2patel.in; |
- | return 302 https://ngee-vm2.ornl.gov$request_uri; | + | return 302 https://backup.k2patel.in$request_uri; |
} | } | ||
Line 144: | Line 144: | ||
server { | server { | ||
listen 443 ssl http2; | listen 443 ssl http2; | ||
- | server_name ngee-vm2.ornl.gov; | + | server_name backup.k2patel.in; |
ssl on; | ssl on; | ||
- | ssl_certificate /etc/pki/tls/certs/ornl.gov.crt; | + | ssl_certificate /etc/pki/tls/certs/k2patel.in.crt; |
- | ssl_certificate_key /etc/pki/tls/private/ornl.gov.key; | + | ssl_certificate_key /etc/pki/tls/private/k2patel.in.key; |
- | ssl_trusted_certificate /etc/pki/tls/certs/ornl.gov.int.ca; | + | ssl_trusted_certificate /etc/pki/tls/certs/k2patel.in.int.ca; |
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) | # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) | ||
Line 183: | Line 183: | ||
auth_basic_user_file /usr/local/etc/nginx/backuppc.users; | auth_basic_user_file /usr/local/etc/nginx/backuppc.users; | ||
root /usr/share/BackupPC/html; | root /usr/share/BackupPC/html; | ||
- | return 302 http://ngee-vm2.ornl.gov/cgi-bin/BackupPC_Admin; | + | return 302 http://backup.k2patel.in/cgi-bin/BackupPC_Admin; |
index BackupPC.html; | index BackupPC.html; | ||
} | } |