claude go reimplement
This commit is contained in:
1 parent
4bcb924158
commit
f523c79618
83 files changed
+3714
-3454
No files matched your search
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
# nginx site for kjv-api. Change example.com to your domain, then:
|
||||
# sudo cp kjv-api.nginx.conf /etc/nginx/sites-available/kjv-api
|
||||
# sudo ln -s /etc/nginx/sites-available/kjv-api /etc/nginx/sites-enabled/
|
||||
# sudo nginx -t && sudo systemctl reload nginx
|
||||
# sudo certbot --nginx -d example.com (adds https to this file for you)
|
||||
#
|
||||
# Already have a site? Copy just the location block into it.
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name example.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:1611;
|
||||
proxy_set_header Host $host;
|
||||
# the program limits how fast each visitor can make plans and shortcodes by this address
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user