Guest User

sites-enabled/ghost

a guest
May 29th, 2016
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name foobar.com.tld;
  4. location = / {
  5. rewrite ^ http://foobar.com/journal/ redirect;
  6. }
  7. location ~* /journal {
  8. proxy_set_header X-Real-IP $remote_addr;
  9. proxy_set_header Host $http_host;
  10. proxy_pass http://127.0.0.1:2368;
  11. }
  12. }
Add Comment
Please, Sign In to add comment