1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/soapbox_ynh.git synced 2024-09-03 20:26:11 +02:00
This commit is contained in:
ericgaspar 2022-10-14 09:59:55 +02:00
parent 795f1f86d8
commit 408548ee66
2 changed files with 1 additions and 3 deletions

View file

@ -31,7 +31,7 @@ location / {
proxy_pass $scheme://127.0.0.1$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;
# doesn't work with some browsers

View file

@ -76,8 +76,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2
# Create a dedicated 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
#=================================================