This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# to be able to work this function globally, copy or create link in /usr/local/bin | |
# -------------------------------------------------------------------- | |
makeServerBlock() { | |
try_files='try_files $uri $uri/ /index.php?$query_string;' | |
block="/etc/nginx/sites-available/$domain" |
NewerOlder