-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added logic that will generate a hash of domain names during the sync. The sync will only run if the hash changes - Added logic to create a self-signed certificate for nginx. This will allow the service to start up using SSL
- Loading branch information
1 parent
91b0844
commit edd4cbc
Showing
4 changed files
with
127 additions
and
12 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
upstream fusionpbx { | ||
server tm1.detroitpbx.com:443; | ||
|
||
} | ||
|
||
|
||
server { | ||
listen 80; | ||
listen 443 ssl; | ||
|
||
ssl_certificate /etc/nginx/html/certs/cert_combined.crt; | ||
ssl_certificate_key /etc/nginx/html/certs/cert.key; | ||
|
||
location /provision/ { | ||
proxy_pass https://fusionpbx; | ||
proxy_redirect off; | ||
proxy_next_upstream error timeout http_404 http_403 http_500 http_502 http_503 http_504 non_idempotent; | ||
} | ||
|
||
location / { | ||
|
||
error_page 404 /404.html; | ||
|
||
} | ||
|
||
location /images/ { | ||
|
||
alias /etc/nginx/html/images/; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters