Advertisement
Guest User

Untitled

a guest
Aug 15th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 1.89 KB | None | 0 0
  1. #nginix config
  2.  
  3. error_page 500 https://oxymc.com/500.shtml;
  4. error_page 404 /assets/v5/error/404.php;
  5. error_page 403 /assets/v5/error/403.php;
  6.  
  7. location ~ ^/store$ {
  8.   rewrite ^(.*)$ https://shop.oxymc.com redirect;
  9. }
  10.  
  11. location ~ ^/trgovina$ {
  12.   rewrite ^(.*)$ https://shop.oxymc.com redirect;
  13. }
  14.  
  15. location ~ ^/buycraft$ {
  16.   rewrite ^(.*)$ https://shop.oxymc.com redirect;
  17. }
  18.  
  19. location ~ ^/igra$ {
  20.   rewrite ^(.*)$ https://www.oxymc.com/tutorial redirect;
  21. }
  22.  
  23. location ~ ^/tutorijal$ {
  24.   rewrite ^(.*)$ https://www.oxymc.com/tutorial redirect;
  25. }
  26.  
  27. location ~ ^/vote/1$ {
  28.   rewrite ^(.*)$ http://minecraft-mp.com/server/69246/vote/ redirect;
  29. }
  30.  
  31. location ~ ^/vote/2$ {
  32.   rewrite ^(.*)$ http://minecraftservers.org/vote/180593 redirect;
  33. }
  34.  
  35. location ~ ^/vote/3$ {
  36.   rewrite ^(.*)$ https://topg.org/Minecraft/in-493652 redirect;
  37. }
  38.  
  39. location ~ ^/kalendar$ {
  40.   rewrite ^(.*)$ https://oxymc.com/forum/calendar.php?calendar=1 redirect;
  41. }
  42.  
  43. location ~ ^/prijedlozi$ {
  44.   rewrite ^(.*)$ https://www.oxymc.com/forum/forumdisplay.php?fid=12 redirect;
  45. }
  46.  
  47. location ~ ^/suggest$ {
  48.   rewrite ^(.*)$ https://www.oxymc.com/forum/forumdisplay.php?fid=12 redirect;
  49. }
  50.  
  51. location ~ ^/bug$ {
  52.   rewrite ^(.*)$ https://www.oxymc.com/forum/forumdisplay.php?fid=16 redirect;
  53. }
  54.  
  55. location ~ ^/discord$ {
  56.   rewrite ^(.*)$ https://discord.gg/hpNjSUb redirect;
  57. }
  58.  
  59. location ~ ^/kontakt$ {
  60.   rewrite ^(.*)$ https://www.oxymc.com/forum/contact.php redirect;
  61. }
  62.  
  63. location ~ ^/report$ {
  64.   rewrite ^(.*)$ https://oxymc.com/forum/forumdisplay.php?fid=13 redirect;
  65. }
  66.  
  67. location ~ ^/novosti$ {
  68.   rewrite ^(.*)$ https://oxymc.com/forum/portal.php redirect;
  69. }
  70.  
  71. location ~ ^/sezona5$ {
  72.   rewrite ^(.*)$ https://oxymc.com/forum/showthread.php?tid=227 redirect;
  73. }
  74.  
  75. location ~ ^/nylvaras$ {
  76.   rewrite ^(.*)$ https://pnrtscr.com/ck08e6 redirect;
  77. }
  78.  
  79. location / {
  80.   rewrite !.*\.php$ /$request_filename.php break;
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement