Skip to content

Instantly share code, notes, and snippets.

View TheMightyJonez's full-sized avatar

TheMightyJonez

View GitHub Profile
@gmcclins
gmcclins / vagrant-hostname-down.sh
Created May 26, 2015 15:57
manage a vagrant host with systemd
#!/usr/bin/env bash
#
# script to stop vagrant box for use with systemd
# place scripts into /usr/lib/systemd/scripts/
# be sure to put the .service file in /lib/systemd/system/
#
# -- Geoffrey McClinsey
VAGRANTUSR=vagrant # user you want vagrant box to run as
VAGRANTBOXPATH= # add path to Vagrantfile
@VirtuBox
VirtuBox / nextcloud.conf
Created July 15, 2020 13:52
wordops nextcloud
# WordOps nextcloud configuration
# install path : /var/www/yourdomain.tld/conf/nginx/nextcloud.conf
# replace "fastcgi_pass php73;" with another upstream if you are using php72 or php74
# ----------------------------------------------------------------------------
add_header X-Robots-Tag none;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
location = /robots.txt {
allow all;