-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from veryCrunchy/nginx
feat: simplify deployment with nginx
- Loading branch information
Showing
14 changed files
with
345 additions
and
333 deletions.
There are no files selected for viewing
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 @@ | ||
huly.conf |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
letsencrypt/ | ||
nginx/docker-compose.yaml | ||
traefik/docker-compose.yaml | ||
compose.yaml | ||
nginx.conf | ||
nginx.conf | ||
nginx.conf.bak | ||
huly.conf | ||
.huly.secret |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
HULY_VERSION=v0.6.295 | ||
DOCKER_NAME=huly | ||
|
||
# The address of the host or server from which you will access your Huly instance. | ||
# This can be a domain name (e.g., huly.example.com) or an IP address (e.g., 192.168.1.1). | ||
HOST_ADDRESS=${HOST_ADDRESS} | ||
|
||
# Set this variable to 'true' to enable SSL (HTTPS/WSS). | ||
# Leave it empty to use non-SSL (HTTP/WS). | ||
SECURE=${SECURE} | ||
|
||
# Specify the IP address to bind to; leave blank to bind to all interfaces (0.0.0.0). | ||
# Do not use IP:PORT format in HTTP_BIND or HTTP_PORT. | ||
HTTP_PORT=${HTTP_PORT} | ||
HTTP_BIND=${HTTP_BIND} | ||
|
||
# Huly specific variables | ||
TITLE=${TITLE} | ||
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE} | ||
LAST_NAME_FIRST=${LAST_NAME_FIRST} | ||
|
||
# The following configs are auto-generated by the setup script. | ||
# Please do not manually overwrite. | ||
|
||
# Run with --secret to regenerate. | ||
SECRET=${HULY_SECRET} |
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,14 @@ | ||
server { | ||
server_name ; | ||
listen ; | ||
location / { | ||
proxy_http_version 1.1; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-Forwarded-Proto $scheme; | ||
proxy_pass ; | ||
} | ||
} |
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
Oops, something went wrong.