Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name foobar.com.tld;
- location = / {
- rewrite ^ http://foobar.com/journal/ redirect;
- }
- location ~* /journal {
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header Host $http_host;
- proxy_pass http://127.0.0.1:2368;
- }
- }
Add Comment
Please, Sign In to add comment