YunoHost-Apps / redirect_ynh

Redirection app for YunoHost
GNU Affero General Public License v3.0
43 stars 20 forks source link

Blocking a Cross-Origin Request: The "Same Origin #9

Closed gamersalpha closed 5 years ago

gamersalpha commented 6 years ago

Hello there, i m using u apps to make a reverse proxy for a second serveur with apache without https.

on this serveur i have two apps :

and when i try to using one and other i have this error :

Blocking a Cross-Origin Request: The "Same Origin

do u know how pass this error code ?

i m using this program :

https://github.com/DanielnetoDotCom/YouPHPTube-Encoder/issues/44

thanks

gamersalpha commented 6 years ago

Hello there he look like need this line in nginx :

Header set Access-Control-Allow-Origin: *

how do that please ?

scith commented 5 years ago

Hi This could be added in the file /etc/nginx/conf.d/$domain.d/$app.conf