1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00
gotosocial_ynh/conf/nginx.conf
OniriCorpe c72a63ff95
Testing v0.7.1 Even Stormier Sloth (#65)
* Preparing for v0.7.1

* Auto-update README

* Auto-update README

* adding & modifying parameters for v0.7.1

* Expose 'account-domain' setting at install

* adding 'account_domain'

* typo

* more "account_domain" stuff

* adapting the nginx config to the "account_domain" system

* fix a really dumb bug :"3

* fix "location" directive is not allowed here

* fix comment

* typo...

* adding important infos for account_domain

* enhance is_account_domain mechanism

* trying to debug dumb "duplicate location "/"" error

* tweaking the main_domain logic

* another trying

* "domain" parameter removed

* try to debug the IC

* miss

* reverting all "account_domain" stuff

* Upgrade to v0.7.1

* Auto-update README

* leftover

* check upgrade from 0.6.0~ynh1

* instance_expose_suspended_web: unbound variable

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
2023-02-21 17:21:42 +01:00

15 lines
392 B
Nginx Configuration File

location __PATH__/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass http://localhost:__PORT__;
client_max_body_size __CLIENT_MAX_BODY_SIZE__;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}