mirror of
https://github.com/YunoHost-Apps/soapbox_ynh.git
synced 2024-09-03 20:26:11 +02:00
Fix
This commit is contained in:
parent
795f1f86d8
commit
408548ee66
2 changed files with 1 additions and 3 deletions
|
@ -31,7 +31,7 @@ location / {
|
||||||
|
|
||||||
proxy_pass $scheme://127.0.0.1$request_uri;
|
proxy_pass $scheme://127.0.0.1$request_uri;
|
||||||
# proxy_redirect $scheme://__DOMAIN__$request_uri $scheme://soapbox.g0v.moe$request_uri;
|
# proxy_redirect $scheme://__DOMAIN__$request_uri $scheme://soapbox.g0v.moe$request_uri;
|
||||||
proxy_set_header Host example.com;
|
proxy_set_header Host __BACKEND__;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
# doesn't work with some browsers
|
# doesn't work with some browsers
|
||||||
|
|
|
@ -76,8 +76,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
ynh_replace_string --match_string="example.com" --replace_string="$backend" --target_file="/etc/nginx/conf.d/$domain.d/$app.conf"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue