Advertisement
Guest User

Untitled

a guest
Oct 7th, 2021
43
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen 80;
  3.     listen [::]:80;
  4.  
  5.     server_name localhost;
  6.     root /var/www/ghost/system/nginx-root; # Used for acme.sh SSL verification (https://acme.sh)
  7.  
  8.     location / {
  9.         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  10.         proxy_set_header X-Forwarded-Proto $scheme;
  11.         proxy_set_header X-Real-IP $remote_addr;
  12.         proxy_set_header Host $http_host;
  13.         proxy_pass http://127.0.0.1:2368;
  14.  
  15.     }
  16.  
  17.     location ~ /.well-known {
  18.         allow all;
  19.     }
  20.  
  21.     client_max_body_size 50m;
  22. }
Advertisement
RAW Paste Data Copied
Advertisement