---
# System prepended metadata

title: Ipfs remoite

---



- Ipfs production remote -> For users
    - Production hashes
    - Domain -> https://gateway.ipfs.dappnode.io
- Ipfs test/dev remote -> For developers AND beta user testers
    - TODO -> Production hashes. Same cron-job as IPFS production
    - Test/dev hashes
    - Data can be erased every 2 weeks
    - Domain ->
- Update IPFS peer in:
    - dappmanager
    - core

- Domains
    - Production 65.109.51.31
        - Api: CLOSED
        - Gateway: https://gateway.ipfs.dappnode.io
    - Dev 167.86.114.131
        - [x] add prod content with cron 
        - Api: http://api.ipfs.dappnode.io:5001
            - [x] remove port from hardcoded domains https://github.com/dappnode/DAppNodeSDK/pull/412
            - [x] Test
            - [x] Publish SDK
        - Gateway dev: gateway-dev.ipfs.dappnode.io -> http://167.86.114.131:8081
            - [ ] add domain to dev gateway -> NEED EDU
        - Gateway production gateway.ipfs.dappnode.io -> 65.109.51.31
            - [ ] change prod gateway domain to new IP 65.109.51.31 -> NEED EDU
    - Dappmanager
        - IPFS_LOCAL: "http://ipfs.dappnode:5001",
        - IPFS_REMOTE: "https://gateway.ipfs.dappnode.io",
    - SDK
        - Provider dappnode -> "http://ipfs.dappnode" (LOCAL)
        - Provider remote -> "http://api.ipfs.dappnode.io:5001"  


Current domains:
    - ipfs.dappnode.io -> 167.86.114.131
    - api.ipfs.dappnode.io -> 167.86.114.131
    - gateway.ipfs.dappnode.io -> 167.86.114.131
    

167.86.114.131 is old (dev) ipfs machine. 
For api and gateway subdomains we use nginx and HTTPS. In nginx we have config that proxies api subdomain to localhost port 5001 and gateway to localhost port 8001 of the IPFS node. Nginx also does SSL.

Now with new production node, gateway.ipfs.dappnode.io proxies to the remote ipfs node gateway, not any more to the localhost node.


New setup:
     - gateway.ipfs.dappnode.io -> 65.109.51.31 (new prod node)
     - add domain gateway-dev.ipfs.dappnode.io -> 167.86.114.131 (dev node)
     - 