I hereby claim:
- I am banjofox on github.
- I am banjofox (https://keybase.io/banjofox) on keybase.
- I have a public key ASArRG6UGdgCxu5s2ZNyanbBs73e1IMMBOZJeVZRPuTo_Ao
To claim this, I am signing this object:
#!/bin/zsh | |
# WARNING! The script is meant to show how and what can be disabled. Don’t use it as it is, adapt it to your needs. | |
# Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3 | |
# Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12), macOS Ventura (13), macOS Sonoma (14) and macOS Sequoia (15) | |
# Disabling SIP is required ("csrutil disable" from Terminal in Recovery) | |
# Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist | |
# To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot; sudo rm -r /private/var/db/com.apple.xpc.launchd/* | |
# user |
I hereby claim:
To claim this, I am signing this object:
This is my boilerplate for a Nginx config with SSL. I like the idea of modular includes, so I created a /etc/nginx/includes
directory for files that get included into the main config file /etc/nginx/nginx.conf
. I moved mime.types
and fastcgi.conf
to that includes
folder. I use a common-location-rules.conf
file for location rules that are shared between all sites hosted on the server. Relative paths in include
directives are relative to the config prefix path (path to the nginx.conf
file, by default /etc/nginx/
).
The following files are from h5bp/server-configs-nginx:
includes/mime.types
: here the correct MIME type for javascript (application/javascript
instead of text/javascript
) is set among others. Using this file is important because the gzip_types
rule is set accordingly in gzip.conf
.includes/expires.conf
](htt