1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
peertube_ynh/conf/nginx_regen_conf.hook

8 lines
201 B
Text
Raw Normal View History

2019-10-24 02:39:32 +02:00
#!/bin/bash
2019-11-22 00:34:59 +01:00
pending_conf=$4
if [[ "$1" == "pre" ]]
then
sed --in-place "s/X-Frame-Options : SAMEORIGIN/X-Frame-Options : ALLOWALL/g" "${pending_conf}/../nginx/etc/nginx/conf.d/__DOMAIN__.conf"
fi