SHARE
TWEET

Untitled

a guest Aug 19th, 2019 595 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen 80;
  3.     server_name _;
  4.     return 444;
  5. }
  6.  
  7. server {
  8.     listen 80 default_server;
  9.     server_name ibdp.ml www.ibdp.ml mineview.ml www.mineview.ml;
  10.  
  11.  
  12.  
  13.     index index.html;
  14.     root /var/www/ibdp.ml;
  15.    
  16.     location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
  17.         expires max;
  18.         log_not_found off;
  19.     }
  20.    
  21.     access_log /var/log/nginx/ibdp.ml-access.log;
  22.     error_log /var/log/nginx/ibdp.ml-error.log;
  23. }
  24.  
  25. server {
  26.     listen 80;
  27.     server_name console.ibdp.ml;
  28.  
  29.     access_log /var/log/nginx/mcmyadmin-access.log;
  30.     error_log /var/log/nginx/mcmyadmin-error.log;
  31.  
  32.     location / {
  33.         proxy_pass http://127.0.0.1:8080/;
  34.         proxy_set_header Host $host;
  35.         proxy_set_header X-Forwarded-For $remote_addr;
  36.     }
  37. }
  38.  
  39. server {
  40.     listen 80;
  41.     server_name console.mineview.ml;
  42.  
  43.     access_log /var/log/nginx/mcmyadmin-access.log;
  44.     error_log /var/log/nginx/mcmyadmin-error.log;
  45.  
  46.     location / {
  47.         proxy_pass http://127.0.0.1:8080/;
  48.         proxy_set_header Host $host;
  49.         proxy_set_header X-Forwarded-For $remote_addr;
  50.     }
  51. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top