Created
February 13, 2015 18:26
-
-
Save edvm/415c65708f7f5a36faec to your computer and use it in GitHub Desktop.
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
| { | |
| "virtualhost": { | |
| "server_auto": "www", | |
| "name": "frula", | |
| "canonical_name": "edvm.frula", | |
| "port": 80, | |
| "set_wordpress_auth": false, | |
| "set_mobile_redirect": false, | |
| "add_geoip_header": false, | |
| "server_aliases": [ | |
| { | |
| "name": "www.laubfal.com", | |
| "auto_sub": "none" | |
| } | |
| ], | |
| "locations": [ | |
| { | |
| "regexp": "^.+.(jpg|jpeg|gif|png|ico|tgz|gz|rar|bz2|doc|exe|ppt|txt|tar|mid|midi|wav|bmp|rtf|swf|woff)$", | |
| "prefix": "~*", | |
| "expires": "30m", | |
| "actions": "proxypass", | |
| "description": "imagenes" | |
| }, | |
| { | |
| "regexp": "^.+.(js|css|xml)$", | |
| "prefix": "~*", | |
| "actions": "cache", | |
| "description": "js_css_xml" | |
| }, | |
| { | |
| "regexp": "/_post(/.*)", | |
| "prefix": "~", | |
| "actions": "access", | |
| "hosts": { | |
| "allow": [ | |
| "127.0.0.1", | |
| "190.1.1.1" | |
| ], | |
| "deny":[ | |
| "all" | |
| ] | |
| }, | |
| "description": "post" | |
| } | |
| ] | |
| }, | |
| "upstream": { | |
| "name":"frulastream", <-- DEPRECAR ESTO y SACARLO DE LA UI | |
| "hosts":[ | |
| { | |
| "name":"danonino.net", | |
| "port":"", | |
| "status":"active" | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment