34 lines
785 B
Plaintext
34 lines
785 B
Plaintext
|
#### Description
|
||
|
## Type: HTTP
|
||
|
## VHost: timesheet.lhprojects.net
|
||
|
## Time Keeping Website
|
||
|
server {
|
||
|
listen 194.242.3.57:80;
|
||
|
server_name timesheet.lhprojects.net;
|
||
|
root ;
|
||
|
|
||
|
location /.well-known {
|
||
|
autoindex on;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
return 302 https://timesheet.lhprojects.net$request_uri;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 194.242.3.57:443 http2 ssl;
|
||
|
server_name timesheet.lhprojects.net;
|
||
|
|
||
|
error_log /var/log/nginx/timesheet.lhprojects.net.error.log;
|
||
|
access_log /var/log/nginx/timesheet.lhprojects.net.access.log main;
|
||
|
|
||
|
ssl_certificate ssl/timesheet.lhprojects.net-fullchain.crt;
|
||
|
ssl_certificate_key ssl/timesheet.lhprojects.net.key;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://10.0.6.25:443;
|
||
|
include proxy_params;
|
||
|
}
|
||
|
}
|