You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

basic.m4 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. ## mort.coffee
  2. server {
  3. listen_ssl(mort.coffee, mort.coffee)
  4. serve(mort.coffee, www)
  5. }
  6. server { https_redirect(mort.coffee) }
  7. server { listen(www.mort.coffee) redirect(https://mort.coffee) }
  8. server { listen_ssl(mort.coffee, www.mort.coffee) redirect(https://mort.coffee) }
  9. ## s.mort.coffee
  10. server {
  11. listen_ssl(mort.coffee, s.mort.coffee)
  12. serve(mort.coffee, s)
  13. }
  14. server { https_redirect(s.mort.coffee) }
  15. ## bendik.mort.coffee
  16. server {
  17. listen_ssl(mort.coffee, bendik.mort.coffee)
  18. autoindex on;
  19. root /home/bendik/www;
  20. }
  21. server { https_redirect(bendik.mort.coffee) }
  22. ## pass.mort.coffee
  23. server {
  24. listen_ssl(mort.coffee, pass.mort.coffee)
  25. proxy(http://localhost:8080)
  26. }
  27. server { https_redirect(pass.mort.coffee) }
  28. ## git.mort.coffee
  29. server {
  30. listen_ssl(mort.coffee, git.mort.coffee)
  31. proxy(http://localhost:8082)
  32. }
  33. server { https_redirect(git.mort.coffee) }
  34. ## irc.mort.coffee
  35. server {
  36. listen_ssl(mort.coffee, irc.mort.coffee)
  37. proxy(http://localhost:8087)
  38. wsproxy(http://localhost:8087, socket.io/)
  39. }
  40. server { https_redirect(irc.mort.coffee) }
  41. ## tpb.mort.coffee
  42. server {
  43. listen_ssl(mort.coffee, tpb.mort.coffee)
  44. proxy(http://localhost:8086)
  45. }
  46. server { https_redirect(tpb.mort.coffee) }
  47. ## shoplist.mort.coffee
  48. server {
  49. listen_ssl(mort.coffee, shoplist.mort.coffee)
  50. proxy(http://localhost:8090)
  51. }
  52. server { https_redirect(shoplist.mort.coffee) }
  53. ## sonen.mort.coffee
  54. server {
  55. listen_ssl(mort.coffee, sonen.mort.coffee)
  56. proxy(http://localhost:8089)
  57. }
  58. server { https_redirect(sonen.mort.coffee) }
  59. ## beer.mort.coffee
  60. server {
  61. listen_ssl(mort.coffee, beer.mort.coffee)
  62. proxy(http://localhost:8091)
  63. }
  64. server { https_redirect(beer.mort.coffee) }
  65. ## colors.mort.coffee
  66. server {
  67. listen_ssl(mort.coffee, colors.mort.coffee)
  68. proxy(http://localhost:8092)
  69. }
  70. server { https_redirect(colors.mort.coffee) }