Nginx dev environment secure by IP or cookie
Nginx configuration:
1 | set_real_ip_from 10.0.0.0/8; |
Set cookie in browser:
1 | function setCookie(name, value, domain) { |
Recommendations
Nginx configuration:
1 | set_real_ip_from 10.0.0.0/8; |
Set cookie in browser:
1 | function setCookie(name, value, domain) { |