Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. server {
  2. listen 443;
  3. server_name localhost;
  4.  
  5. ssl on;
  6. ssl_session_timeout 5m;
  7. ssl_protocols SSLv3 TLSv1;
  8. ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
  9. keepalive_timeout 100;
  10. ssl_prefer_server_ciphers on;
  11.  
  12. if ($host ~* "^(.+)\.plus3network\.com$") {
  13. return 301 https://www.plus3network.com/$1;
  14. }
  15. if ($host !~* "^(.+)\.plus3\.com$") {
  16. return 301 https://www.plus3.com/$1;
  17. }
  18.  
  19.  
  20. location / {
  21. if ($host ~* "^(.+)\.plus3network\.com$") {
  22. return 301 https://www.plus3network.com$request_uri;
  23. }
  24. if ($host ~* "^(.+)\.plus3\.com$") {
  25. return 301 https://www.plus3.com/$request_uri;
  26. }
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement