mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
20 lines
429 B
Plaintext
Executable File
20 lines
429 B
Plaintext
Executable File
upstream backend {
|
|
server {{ .Env.URL_BACKEND }};
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
index index.html;
|
|
root /var/www/public/;
|
|
|
|
server_name {{ default .Env.FRONTEND_SERVER_NAME "_" }};
|
|
include sites.d/frontend.conf;
|
|
include include.d/letsencrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name {{ default .Env.BACKEND_SERVER_NAME "_" }};
|
|
include sites.d/backend.conf;
|
|
include include.d/letsencrypt.conf;
|
|
} |