Created
December 17, 2015 01:09
-
-
Save vivekagr/6494fa54bbbb76ca9e4a to your computer and use it in GitHub Desktop.
Revisions
-
vivekagr created this gist
Dec 17, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ server { listen 80 default_server; root /home/ubuntu/test; index index.html index.htm; error_log /home/ubuntu/test/error.log; access_log /home/ubuntu/test/access.log; location / { set $lang_sup "en,fr"; lua_code_cache off; set_by_lua_file $lang_accept /etc/nginx/lang.lua $lang_sup; root /home/ubuntu/test/$lang_accept; } }