Initial nginx reverse proxy for the IPFS IP
It supports cat and add for now. I have tried it using the ipfs-api npm module
This commit is contained in:
@@ -26,7 +26,9 @@ template "#{node['nginx']['dir']}/sites-available/ipfs.kosmos.org" do
|
||||
variables server_name: 'ipfs.kosmos.org',
|
||||
root_directory: root_directory,
|
||||
ssl_cert: "/etc/letsencrypt/live/ipfs.kosmos.org/fullchain.pem",
|
||||
ssl_key: "/etc/letsencrypt/live/ipfs.kosmos.org/privkey.pem"
|
||||
ssl_key: "/etc/letsencrypt/live/ipfs.kosmos.org/privkey.pem",
|
||||
ipfs_api_port: 5001
|
||||
|
||||
notifies :reload, 'service[nginx]', :delayed
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user