1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4130
+user: Proxies\__CG__\App\Entity\User {#4138 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
This. Also, make sure the proxy is proxying websocket traffic as well. I do it with pure nginx like this:\n
\n
```\n
\n
<span style="color:#323232;">server {\n
</span><span style="color:#323232;"> listen 80;\n
</span><span style="color:#323232;"> server_name example.com;\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> location / {\n
</span><span style="color:#323232;"> proxy_pass http://192.168.1.100:8123/;\n
</span><span style="color:#323232;"> proxy_set_header Host $host;\n
</span><span style="color:#323232;"> proxy_set_header X-Real-IP $remote_addr;\n
</span><span style="color:#323232;"> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n
</span><span style="color:#323232;"> proxy_set_header X-Forwarded-Proto $scheme;\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # WebSocket support\n
</span><span style="color:#323232;"> proxy_http_version 1.1;\n
</span><span style="color:#323232;"> proxy_set_header Upgrade $http_upgrade;\n
</span><span style="color:#323232;"> proxy_set_header Connection "upgrade";\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;">}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706485318 {#4135
date: 2024-01-29 00:41:58.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4141 …}
+nested: Doctrine\ORM\PersistentCollection {#4143 …}
+votes: Doctrine\ORM\PersistentCollection {#4139 …}
+reports: Doctrine\ORM\PersistentCollection {#4146 …}
+favourites: Doctrine\ORM\PersistentCollection {#4148 …}
+notifications: Doctrine\ORM\PersistentCollection {#4150 …}
-id: 348286
-bodyTs: "'1.1':71 '192.168.1.100':30 '80':23 '8123':31 'add':54 'addr':45 'also':2 'connect':81 'example.com':26 'forward':51,56,63 'header':34,39,48,60,74,80 'host':35,36 'http':69,76 'ip':43 'like':19 'listen':22 'locat':27 'make':3 'name':25 'nginx':18 'pass':29 'proto':64 'proxi':6,8,28,32,37,46,53,58,68,72,78 'pure':17 'real':42 'remot':44 'scheme':65 'server':21,24 'set':33,38,47,59,73,79 'support':67 'sure':4 'traffic':10 'upgrad':75,77,82 'version':70 'websocket':9,66 'well':12 'x':41,50,55,62 'x-forwarded-for':49 'x-forwarded-proto':61 'x-real-ip':40"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://startrek.website/comment/6198680"
+editedAt: null
+createdAt: DateTimeImmutable @1706485318 {#4132
date: 2024-01-29 00:41:58.0 +01:00
}
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#4130
+user: Proxies\__CG__\App\Entity\User {#4138 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
This. Also, make sure the proxy is proxying websocket traffic as well. I do it with pure nginx like this:\n
\n
```\n
\n
<span style="color:#323232;">server {\n
</span><span style="color:#323232;"> listen 80;\n
</span><span style="color:#323232;"> server_name example.com;\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> location / {\n
</span><span style="color:#323232;"> proxy_pass http://192.168.1.100:8123/;\n
</span><span style="color:#323232;"> proxy_set_header Host $host;\n
</span><span style="color:#323232;"> proxy_set_header X-Real-IP $remote_addr;\n
</span><span style="color:#323232;"> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n
</span><span style="color:#323232;"> proxy_set_header X-Forwarded-Proto $scheme;\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # WebSocket support\n
</span><span style="color:#323232;"> proxy_http_version 1.1;\n
</span><span style="color:#323232;"> proxy_set_header Upgrade $http_upgrade;\n
</span><span style="color:#323232;"> proxy_set_header Connection "upgrade";\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;">}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706485318 {#4135
date: 2024-01-29 00:41:58.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4141 …}
+nested: Doctrine\ORM\PersistentCollection {#4143 …}
+votes: Doctrine\ORM\PersistentCollection {#4139 …}
+reports: Doctrine\ORM\PersistentCollection {#4146 …}
+favourites: Doctrine\ORM\PersistentCollection {#4148 …}
+notifications: Doctrine\ORM\PersistentCollection {#4150 …}
-id: 348286
-bodyTs: "'1.1':71 '192.168.1.100':30 '80':23 '8123':31 'add':54 'addr':45 'also':2 'connect':81 'example.com':26 'forward':51,56,63 'header':34,39,48,60,74,80 'host':35,36 'http':69,76 'ip':43 'like':19 'listen':22 'locat':27 'make':3 'name':25 'nginx':18 'pass':29 'proto':64 'proxi':6,8,28,32,37,46,53,58,68,72,78 'pure':17 'real':42 'remot':44 'scheme':65 'server':21,24 'set':33,38,47,59,73,79 'support':67 'sure':4 'traffic':10 'upgrad':75,77,82 'version':70 'websocket':9,66 'well':12 'x':41,50,55,62 'x-forwarded-for':49 'x-forwarded-proto':61 'x-real-ip':40"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://startrek.website/comment/6198680"
+editedAt: null
+createdAt: DateTimeImmutable @1706485318 {#4132
date: 2024-01-29 00:41:58.0 +01:00
}
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4130
+user: Proxies\__CG__\App\Entity\User {#4138 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
This. Also, make sure the proxy is proxying websocket traffic as well. I do it with pure nginx like this:\n
\n
```\n
\n
<span style="color:#323232;">server {\n
</span><span style="color:#323232;"> listen 80;\n
</span><span style="color:#323232;"> server_name example.com;\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> location / {\n
</span><span style="color:#323232;"> proxy_pass http://192.168.1.100:8123/;\n
</span><span style="color:#323232;"> proxy_set_header Host $host;\n
</span><span style="color:#323232;"> proxy_set_header X-Real-IP $remote_addr;\n
</span><span style="color:#323232;"> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n
</span><span style="color:#323232;"> proxy_set_header X-Forwarded-Proto $scheme;\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # WebSocket support\n
</span><span style="color:#323232;"> proxy_http_version 1.1;\n
</span><span style="color:#323232;"> proxy_set_header Upgrade $http_upgrade;\n
</span><span style="color:#323232;"> proxy_set_header Connection "upgrade";\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;">}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706485318 {#4135
date: 2024-01-29 00:41:58.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4141 …}
+nested: Doctrine\ORM\PersistentCollection {#4143 …}
+votes: Doctrine\ORM\PersistentCollection {#4139 …}
+reports: Doctrine\ORM\PersistentCollection {#4146 …}
+favourites: Doctrine\ORM\PersistentCollection {#4148 …}
+notifications: Doctrine\ORM\PersistentCollection {#4150 …}
-id: 348286
-bodyTs: "'1.1':71 '192.168.1.100':30 '80':23 '8123':31 'add':54 'addr':45 'also':2 'connect':81 'example.com':26 'forward':51,56,63 'header':34,39,48,60,74,80 'host':35,36 'http':69,76 'ip':43 'like':19 'listen':22 'locat':27 'make':3 'name':25 'nginx':18 'pass':29 'proto':64 'proxi':6,8,28,32,37,46,53,58,68,72,78 'pure':17 'real':42 'remot':44 'scheme':65 'server':21,24 'set':33,38,47,59,73,79 'support':67 'sure':4 'traffic':10 'upgrad':75,77,82 'version':70 'websocket':9,66 'well':12 'x':41,50,55,62 'x-forwarded-for':49 'x-forwarded-proto':61 'x-real-ip':40"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://startrek.website/comment/6198680"
+editedAt: null
+createdAt: DateTimeImmutable @1706485318 {#4132
date: 2024-01-29 00:41:58.0 +01:00
}
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4154
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
Thanks. I tried it like this and still get a 400 Bad Request error.\n
\n
\n
\n
Someone below mentioned adding some more IPs to the trusted_proxies list so I tried that as well without result. The IP I used for the reverse-proxy is the IP listed in portainer under the network for the proxy container. Just to reiterate, the container is running on a different device than homeassistant (technically same device but different VM but that shouldn’t make a difference).\n
\n
```\n
\n
<span style="color:#63a35c;">http</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">use_x_forwarded_for</span><span style="color:#323232;">: </span><span style="color:#0086b3;">true\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">trusted_proxies</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.208.2 </span><span style="font-style:italic;color:#969896;"># IP of reverse-proxy in its network\n
</span><span style="color:#323232;"> - </span><span style="color:#183691;">192.168.208.0/20 </span><span style="font-style:italic;color:#969896;"># Subnet of proxy docker network\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.1.103 </span><span style="font-style:italic;color:#969896;"># HA IP\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521434 {#4152
date: 2024-01-29 10:43:54.0 +01:00
}
+ip: null
+tags: [
0 => "63a35c"
1 => "323232"
5 => "0086b3"
11 => "969896"
13 => "183691"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4155 …}
+nested: Doctrine\ORM\PersistentCollection {#4157 …}
+votes: Doctrine\ORM\PersistentCollection {#4159 …}
+reports: Doctrine\ORM\PersistentCollection {#4161 …}
+favourites: Doctrine\ORM\PersistentCollection {#4163 …}
+notifications: Doctrine\ORM\PersistentCollection {#4165 …}
-id: 349371
-bodyTs: "'/20':104 '/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':17 '192.168.1.103':110 '192.168.208.0':103 '192.168.208.2':94 '400':11 'ad':21 'bad':12 'contain':59,64 'devic':70,75 'differ':69,77,85 'docker':108 'error':14 'forward':89 'get':9 'ha':111 'homeassist':72 'http':86 'ip':24,39,49,95,112 'lemmy.dbzer0.com':16 'lemmy.dbzer0.com/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':15 'like':5 'list':29,50 'make':83 'mention':20 'network':55,102,109 'portain':52 'proxi':28,46,58,93,99,107 'reiter':62 'request':13 'result':37 'revers':45,98 'reverse-proxi':44,97 'run':66 'shouldn':81 'someon':18 'still':8 'subnet':105 'technic':73 'thank':1 'tri':3,32 'true':91 'trust':27,92 'use':41,87 'vm':78 'well':35 'without':36 'x':88"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7247998"
+editedAt: null
+createdAt: DateTimeImmutable @1706521434 {#4153
date: 2024-01-29 10:43:54.0 +01:00
}
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#4154
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
Thanks. I tried it like this and still get a 400 Bad Request error.\n
\n
\n
\n
Someone below mentioned adding some more IPs to the trusted_proxies list so I tried that as well without result. The IP I used for the reverse-proxy is the IP listed in portainer under the network for the proxy container. Just to reiterate, the container is running on a different device than homeassistant (technically same device but different VM but that shouldn’t make a difference).\n
\n
```\n
\n
<span style="color:#63a35c;">http</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">use_x_forwarded_for</span><span style="color:#323232;">: </span><span style="color:#0086b3;">true\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">trusted_proxies</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.208.2 </span><span style="font-style:italic;color:#969896;"># IP of reverse-proxy in its network\n
</span><span style="color:#323232;"> - </span><span style="color:#183691;">192.168.208.0/20 </span><span style="font-style:italic;color:#969896;"># Subnet of proxy docker network\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.1.103 </span><span style="font-style:italic;color:#969896;"># HA IP\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521434 {#4152
date: 2024-01-29 10:43:54.0 +01:00
}
+ip: null
+tags: [
0 => "63a35c"
1 => "323232"
5 => "0086b3"
11 => "969896"
13 => "183691"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4155 …}
+nested: Doctrine\ORM\PersistentCollection {#4157 …}
+votes: Doctrine\ORM\PersistentCollection {#4159 …}
+reports: Doctrine\ORM\PersistentCollection {#4161 …}
+favourites: Doctrine\ORM\PersistentCollection {#4163 …}
+notifications: Doctrine\ORM\PersistentCollection {#4165 …}
-id: 349371
-bodyTs: "'/20':104 '/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':17 '192.168.1.103':110 '192.168.208.0':103 '192.168.208.2':94 '400':11 'ad':21 'bad':12 'contain':59,64 'devic':70,75 'differ':69,77,85 'docker':108 'error':14 'forward':89 'get':9 'ha':111 'homeassist':72 'http':86 'ip':24,39,49,95,112 'lemmy.dbzer0.com':16 'lemmy.dbzer0.com/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':15 'like':5 'list':29,50 'make':83 'mention':20 'network':55,102,109 'portain':52 'proxi':28,46,58,93,99,107 'reiter':62 'request':13 'result':37 'revers':45,98 'reverse-proxi':44,97 'run':66 'shouldn':81 'someon':18 'still':8 'subnet':105 'technic':73 'thank':1 'tri':3,32 'true':91 'trust':27,92 'use':41,87 'vm':78 'well':35 'without':36 'x':88"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7247998"
+editedAt: null
+createdAt: DateTimeImmutable @1706521434 {#4153
date: 2024-01-29 10:43:54.0 +01:00
}
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4154
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
Thanks. I tried it like this and still get a 400 Bad Request error.\n
\n
\n
\n
Someone below mentioned adding some more IPs to the trusted_proxies list so I tried that as well without result. The IP I used for the reverse-proxy is the IP listed in portainer under the network for the proxy container. Just to reiterate, the container is running on a different device than homeassistant (technically same device but different VM but that shouldn’t make a difference).\n
\n
```\n
\n
<span style="color:#63a35c;">http</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">use_x_forwarded_for</span><span style="color:#323232;">: </span><span style="color:#0086b3;">true\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">trusted_proxies</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.208.2 </span><span style="font-style:italic;color:#969896;"># IP of reverse-proxy in its network\n
</span><span style="color:#323232;"> - </span><span style="color:#183691;">192.168.208.0/20 </span><span style="font-style:italic;color:#969896;"># Subnet of proxy docker network\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.1.103 </span><span style="font-style:italic;color:#969896;"># HA IP\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521434 {#4152
date: 2024-01-29 10:43:54.0 +01:00
}
+ip: null
+tags: [
0 => "63a35c"
1 => "323232"
5 => "0086b3"
11 => "969896"
13 => "183691"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4155 …}
+nested: Doctrine\ORM\PersistentCollection {#4157 …}
+votes: Doctrine\ORM\PersistentCollection {#4159 …}
+reports: Doctrine\ORM\PersistentCollection {#4161 …}
+favourites: Doctrine\ORM\PersistentCollection {#4163 …}
+notifications: Doctrine\ORM\PersistentCollection {#4165 …}
-id: 349371
-bodyTs: "'/20':104 '/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':17 '192.168.1.103':110 '192.168.208.0':103 '192.168.208.2':94 '400':11 'ad':21 'bad':12 'contain':59,64 'devic':70,75 'differ':69,77,85 'docker':108 'error':14 'forward':89 'get':9 'ha':111 'homeassist':72 'http':86 'ip':24,39,49,95,112 'lemmy.dbzer0.com':16 'lemmy.dbzer0.com/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':15 'like':5 'list':29,50 'make':83 'mention':20 'network':55,102,109 'portain':52 'proxi':28,46,58,93,99,107 'reiter':62 'request':13 'result':37 'revers':45,98 'reverse-proxi':44,97 'run':66 'shouldn':81 'someon':18 'still':8 'subnet':105 'technic':73 'thank':1 'tri':3,32 'true':91 'trust':27,92 'use':41,87 'vm':78 'well':35 'without':36 'x':88"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7247998"
+editedAt: null
+createdAt: DateTimeImmutable @1706521434 {#4153
date: 2024-01-29 10:43:54.0 +01:00
}
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4192
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4154
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
Thanks. I tried it like this and still get a 400 Bad Request error.\n
\n
\n
\n
Someone below mentioned adding some more IPs to the trusted_proxies list so I tried that as well without result. The IP I used for the reverse-proxy is the IP listed in portainer under the network for the proxy container. Just to reiterate, the container is running on a different device than homeassistant (technically same device but different VM but that shouldn’t make a difference).\n
\n
```\n
\n
<span style="color:#63a35c;">http</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">use_x_forwarded_for</span><span style="color:#323232;">: </span><span style="color:#0086b3;">true\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">trusted_proxies</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.208.2 </span><span style="font-style:italic;color:#969896;"># IP of reverse-proxy in its network\n
</span><span style="color:#323232;"> - </span><span style="color:#183691;">192.168.208.0/20 </span><span style="font-style:italic;color:#969896;"># Subnet of proxy docker network\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.1.103 </span><span style="font-style:italic;color:#969896;"># HA IP\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521434 {#4152
date: 2024-01-29 10:43:54.0 +01:00
}
+ip: null
+tags: [
0 => "63a35c"
1 => "323232"
5 => "0086b3"
11 => "969896"
13 => "183691"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4155 …}
+nested: Doctrine\ORM\PersistentCollection {#4157 …}
+votes: Doctrine\ORM\PersistentCollection {#4159 …}
+reports: Doctrine\ORM\PersistentCollection {#4161 …}
+favourites: Doctrine\ORM\PersistentCollection {#4163 …}
+notifications: Doctrine\ORM\PersistentCollection {#4165 …}
-id: 349371
-bodyTs: "'/20':104 '/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':17 '192.168.1.103':110 '192.168.208.0':103 '192.168.208.2':94 '400':11 'ad':21 'bad':12 'contain':59,64 'devic':70,75 'differ':69,77,85 'docker':108 'error':14 'forward':89 'get':9 'ha':111 'homeassist':72 'http':86 'ip':24,39,49,95,112 'lemmy.dbzer0.com':16 'lemmy.dbzer0.com/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':15 'like':5 'list':29,50 'make':83 'mention':20 'network':55,102,109 'portain':52 'proxi':28,46,58,93,99,107 'reiter':62 'request':13 'result':37 'revers':45,98 'reverse-proxi':44,97 'run':66 'shouldn':81 'someon':18 'still':8 'subnet':105 'technic':73 'thank':1 'tri':3,32 'true':91 'trust':27,92 'use':41,87 'vm':78 'well':35 'without':36 'x':88"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7247998"
+editedAt: null
+createdAt: DateTimeImmutable @1706521434 {#4153
date: 2024-01-29 10:43:54.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "My NPM window looks the same as yours. Im not sure mate, I would try disabling firewall just to see is that the problem. Im not expert in that area and nothing else comes to my mind sorry. Im also running everything under one host"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706537423 {#4193
date: 2024-01-29 15:10:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4189 …}
+nested: Doctrine\ORM\PersistentCollection {#4185 …}
+votes: Doctrine\ORM\PersistentCollection {#4183 …}
+reports: Doctrine\ORM\PersistentCollection {#4198 …}
+favourites: Doctrine\ORM\PersistentCollection {#4200 …}
+notifications: Doctrine\ORM\PersistentCollection {#4202 …}
-id: 349769
-bodyTs: "'also':40 'area':30 'come':34 'disabl':16 'els':33 'everyth':42 'expert':27 'firewal':17 'host':45 'im':9,25,39 'look':4 'mate':12 'mind':37 'noth':32 'npm':2 'one':44 'problem':24 'run':41 'see':20 'sorri':38 'sure':11 'tri':15 'window':3 'would':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8788332"
+editedAt: null
+createdAt: DateTimeImmutable @1706537423 {#4196
date: 2024-01-29 15:10:23.0 +01:00
}
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#4192
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4154
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
Thanks. I tried it like this and still get a 400 Bad Request error.\n
\n
\n
\n
Someone below mentioned adding some more IPs to the trusted_proxies list so I tried that as well without result. The IP I used for the reverse-proxy is the IP listed in portainer under the network for the proxy container. Just to reiterate, the container is running on a different device than homeassistant (technically same device but different VM but that shouldn’t make a difference).\n
\n
```\n
\n
<span style="color:#63a35c;">http</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">use_x_forwarded_for</span><span style="color:#323232;">: </span><span style="color:#0086b3;">true\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">trusted_proxies</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.208.2 </span><span style="font-style:italic;color:#969896;"># IP of reverse-proxy in its network\n
</span><span style="color:#323232;"> - </span><span style="color:#183691;">192.168.208.0/20 </span><span style="font-style:italic;color:#969896;"># Subnet of proxy docker network\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.1.103 </span><span style="font-style:italic;color:#969896;"># HA IP\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521434 {#4152
date: 2024-01-29 10:43:54.0 +01:00
}
+ip: null
+tags: [
0 => "63a35c"
1 => "323232"
5 => "0086b3"
11 => "969896"
13 => "183691"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4155 …}
+nested: Doctrine\ORM\PersistentCollection {#4157 …}
+votes: Doctrine\ORM\PersistentCollection {#4159 …}
+reports: Doctrine\ORM\PersistentCollection {#4161 …}
+favourites: Doctrine\ORM\PersistentCollection {#4163 …}
+notifications: Doctrine\ORM\PersistentCollection {#4165 …}
-id: 349371
-bodyTs: "'/20':104 '/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':17 '192.168.1.103':110 '192.168.208.0':103 '192.168.208.2':94 '400':11 'ad':21 'bad':12 'contain':59,64 'devic':70,75 'differ':69,77,85 'docker':108 'error':14 'forward':89 'get':9 'ha':111 'homeassist':72 'http':86 'ip':24,39,49,95,112 'lemmy.dbzer0.com':16 'lemmy.dbzer0.com/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':15 'like':5 'list':29,50 'make':83 'mention':20 'network':55,102,109 'portain':52 'proxi':28,46,58,93,99,107 'reiter':62 'request':13 'result':37 'revers':45,98 'reverse-proxi':44,97 'run':66 'shouldn':81 'someon':18 'still':8 'subnet':105 'technic':73 'thank':1 'tri':3,32 'true':91 'trust':27,92 'use':41,87 'vm':78 'well':35 'without':36 'x':88"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7247998"
+editedAt: null
+createdAt: DateTimeImmutable @1706521434 {#4153
date: 2024-01-29 10:43:54.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "My NPM window looks the same as yours. Im not sure mate, I would try disabling firewall just to see is that the problem. Im not expert in that area and nothing else comes to my mind sorry. Im also running everything under one host"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706537423 {#4193
date: 2024-01-29 15:10:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4189 …}
+nested: Doctrine\ORM\PersistentCollection {#4185 …}
+votes: Doctrine\ORM\PersistentCollection {#4183 …}
+reports: Doctrine\ORM\PersistentCollection {#4198 …}
+favourites: Doctrine\ORM\PersistentCollection {#4200 …}
+notifications: Doctrine\ORM\PersistentCollection {#4202 …}
-id: 349769
-bodyTs: "'also':40 'area':30 'come':34 'disabl':16 'els':33 'everyth':42 'expert':27 'firewal':17 'host':45 'im':9,25,39 'look':4 'mate':12 'mind':37 'noth':32 'npm':2 'one':44 'problem':24 'run':41 'see':20 'sorri':38 'sure':11 'tri':15 'window':3 'would':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8788332"
+editedAt: null
+createdAt: DateTimeImmutable @1706537423 {#4196
date: 2024-01-29 15:10:23.0 +01:00
}
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4192
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4154
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4035
+user: Proxies\__CG__\App\Entity\User {#4037 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
For homeassistant I had to add this in configuration.yaml\n
\n
```\n
\n
<span style="color:#323232;">http:\n
</span><span style="color:#323232;"> use_x_forwarded_for: true\n
</span><span style="color:#323232;"> trusted_proxies:\n
</span><span style="color:#323232;"> - 172.21.0.2\n
</span>\n
```\n
\n
Where 172.21.0.2 is my NPM docker IP\n
\n
Edit: its NPM IP and not HA like I wrote first time
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1706480558 {#4098
date: 2024-01-28 23:22:38.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4038 …}
+nested: Doctrine\ORM\PersistentCollection {#4040 …}
+votes: Doctrine\ORM\PersistentCollection {#4104 …}
+reports: Doctrine\ORM\PersistentCollection {#4106 …}
+favourites: Doctrine\ORM\PersistentCollection {#4108 …}
+notifications: Doctrine\ORM\PersistentCollection {#4110 …}
-id: 348130
-bodyTs: "'172.21.0.2':18,20 'add':6 'configuration.yaml':9 'docker':24 'edit':26 'first':36 'forward':13 'ha':32 'homeassist':2 'http':10 'ip':25,29 'like':33 'npm':23,28 'proxi':17 'time':37 'true':15 'trust':16 'use':11 'wrote':35 'x':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8770978"
+editedAt: DateTimeImmutable @1729230167 {#4101
date: 2024-10-18 07:42:47.0 +02:00
}
+createdAt: DateTimeImmutable @1706480558 {#4103
date: 2024-01-28 23:22:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
Thanks. I tried it like this and still get a 400 Bad Request error.\n
\n
\n
\n
Someone below mentioned adding some more IPs to the trusted_proxies list so I tried that as well without result. The IP I used for the reverse-proxy is the IP listed in portainer under the network for the proxy container. Just to reiterate, the container is running on a different device than homeassistant (technically same device but different VM but that shouldn’t make a difference).\n
\n
```\n
\n
<span style="color:#63a35c;">http</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">use_x_forwarded_for</span><span style="color:#323232;">: </span><span style="color:#0086b3;">true\n
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">trusted_proxies</span><span style="color:#323232;">:\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.208.2 </span><span style="font-style:italic;color:#969896;"># IP of reverse-proxy in its network\n
</span><span style="color:#323232;"> - </span><span style="color:#183691;">192.168.208.0/20 </span><span style="font-style:italic;color:#969896;"># Subnet of proxy docker network\n
</span><span style="color:#323232;"> - </span><span style="color:#0086b3;">192.168.1.103 </span><span style="font-style:italic;color:#969896;"># HA IP\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521434 {#4152
date: 2024-01-29 10:43:54.0 +01:00
}
+ip: null
+tags: [
0 => "63a35c"
1 => "323232"
5 => "0086b3"
11 => "969896"
13 => "183691"
]
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4155 …}
+nested: Doctrine\ORM\PersistentCollection {#4157 …}
+votes: Doctrine\ORM\PersistentCollection {#4159 …}
+reports: Doctrine\ORM\PersistentCollection {#4161 …}
+favourites: Doctrine\ORM\PersistentCollection {#4163 …}
+notifications: Doctrine\ORM\PersistentCollection {#4165 …}
-id: 349371
-bodyTs: "'/20':104 '/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':17 '192.168.1.103':110 '192.168.208.0':103 '192.168.208.2':94 '400':11 'ad':21 'bad':12 'contain':59,64 'devic':70,75 'differ':69,77,85 'docker':108 'error':14 'forward':89 'get':9 'ha':111 'homeassist':72 'http':86 'ip':24,39,49,95,112 'lemmy.dbzer0.com':16 'lemmy.dbzer0.com/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png)':15 'like':5 'list':29,50 'make':83 'mention':20 'network':55,102,109 'portain':52 'proxi':28,46,58,93,99,107 'reiter':62 'request':13 'result':37 'revers':45,98 'reverse-proxi':44,97 'run':66 'shouldn':81 'someon':18 'still':8 'subnet':105 'technic':73 'thank':1 'tri':3,32 'true':91 'trust':27,92 'use':41,87 'vm':78 'well':35 'without':36 'x':88"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7247998"
+editedAt: null
+createdAt: DateTimeImmutable @1706521434 {#4153
date: 2024-01-29 10:43:54.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "My NPM window looks the same as yours. Im not sure mate, I would try disabling firewall just to see is that the problem. Im not expert in that area and nothing else comes to my mind sorry. Im also running everything under one host"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706537423 {#4193
date: 2024-01-29 15:10:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@rambos@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#4189 …}
+nested: Doctrine\ORM\PersistentCollection {#4185 …}
+votes: Doctrine\ORM\PersistentCollection {#4183 …}
+reports: Doctrine\ORM\PersistentCollection {#4198 …}
+favourites: Doctrine\ORM\PersistentCollection {#4200 …}
+notifications: Doctrine\ORM\PersistentCollection {#4202 …}
-id: 349769
-bodyTs: "'also':40 'area':30 'come':34 'disabl':16 'els':33 'everyth':42 'expert':27 'firewal':17 'host':45 'im':9,25,39 'look':4 'mate':12 'mind':37 'noth':32 'npm':2 'one':44 'problem':24 'run':41 'see':20 'sorri':38 'sure':11 'tri':15 'window':3 'would':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemm.ee/comment/8788332"
+editedAt: null
+createdAt: DateTimeImmutable @1706537423 {#4196
date: 2024-01-29 15:10:23.0 +01:00
}
} |
|
Show voter details
|
29 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
30 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4115
+user: Proxies\__CG__\App\Entity\User {#4116 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
If you have any kind of firewall on your network, you might make sure it’s not blocking that port with a rule. Here’s a couple screenshots from my setup in case that helps.\n
\n
The config in NPM\n
\n
\n
\n
The config in HA’s configuration.yaml\n
\n
\n
\n
Try adding just the NPM IP and HA IP first, then add the docker internal network as well if you still have issues.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706490983 {#4112
date: 2024-01-29 02:16:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4119 …}
+votes: Doctrine\ORM\PersistentCollection {#4121 …}
+reports: Doctrine\ORM\PersistentCollection {#4123 …}
+favourites: Doctrine\ORM\PersistentCollection {#4125 …}
+notifications: Doctrine\ORM\PersistentCollection {#4127 …}
-id: 348511
-bodyTs: "'/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':42 '/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':51 'ad':53 'add':63 'block':18 'case':33 'config':37,44 'configuration.yaml':48 'coupl':27 'docker':65 'firewal':7 'first':61 'ha':46,59 'help':35 'intern':66 'ip':57,60 'issu':74 'kind':5 'make':13 'might':12 'network':10,67 'npm':39,56 'orbiting.observer':41,50 'orbiting.observer/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':40 'orbiting.observer/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':49 'port':20 'rule':23 'screenshot':28 'setup':31 'still':72 'sure':14 'tri':52 'well':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://orbiting.observer/comment/498601"
+editedAt: DateTimeImmutable @1729259544 {#4113
date: 2024-10-18 15:52:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706490983 {#4114
date: 2024-01-29 02:16:23.0 +01:00
}
} |
|
Show voter details
|
31 |
DENIED
|
edit
|
App\Entity\EntryComment {#4115
+user: Proxies\__CG__\App\Entity\User {#4116 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
If you have any kind of firewall on your network, you might make sure it’s not blocking that port with a rule. Here’s a couple screenshots from my setup in case that helps.\n
\n
The config in NPM\n
\n
\n
\n
The config in HA’s configuration.yaml\n
\n
\n
\n
Try adding just the NPM IP and HA IP first, then add the docker internal network as well if you still have issues.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706490983 {#4112
date: 2024-01-29 02:16:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4119 …}
+votes: Doctrine\ORM\PersistentCollection {#4121 …}
+reports: Doctrine\ORM\PersistentCollection {#4123 …}
+favourites: Doctrine\ORM\PersistentCollection {#4125 …}
+notifications: Doctrine\ORM\PersistentCollection {#4127 …}
-id: 348511
-bodyTs: "'/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':42 '/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':51 'ad':53 'add':63 'block':18 'case':33 'config':37,44 'configuration.yaml':48 'coupl':27 'docker':65 'firewal':7 'first':61 'ha':46,59 'help':35 'intern':66 'ip':57,60 'issu':74 'kind':5 'make':13 'might':12 'network':10,67 'npm':39,56 'orbiting.observer':41,50 'orbiting.observer/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':40 'orbiting.observer/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':49 'port':20 'rule':23 'screenshot':28 'setup':31 'still':72 'sure':14 'tri':52 'well':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://orbiting.observer/comment/498601"
+editedAt: DateTimeImmutable @1729259544 {#4113
date: 2024-10-18 15:52:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706490983 {#4114
date: 2024-01-29 02:16:23.0 +01:00
}
} |
|
Show voter details
|
32 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4115
+user: Proxies\__CG__\App\Entity\User {#4116 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
If you have any kind of firewall on your network, you might make sure it’s not blocking that port with a rule. Here’s a couple screenshots from my setup in case that helps.\n
\n
The config in NPM\n
\n
\n
\n
The config in HA’s configuration.yaml\n
\n
\n
\n
Try adding just the NPM IP and HA IP first, then add the docker internal network as well if you still have issues.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706490983 {#4112
date: 2024-01-29 02:16:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4119 …}
+votes: Doctrine\ORM\PersistentCollection {#4121 …}
+reports: Doctrine\ORM\PersistentCollection {#4123 …}
+favourites: Doctrine\ORM\PersistentCollection {#4125 …}
+notifications: Doctrine\ORM\PersistentCollection {#4127 …}
-id: 348511
-bodyTs: "'/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':42 '/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':51 'ad':53 'add':63 'block':18 'case':33 'config':37,44 'configuration.yaml':48 'coupl':27 'docker':65 'firewal':7 'first':61 'ha':46,59 'help':35 'intern':66 'ip':57,60 'issu':74 'kind':5 'make':13 'might':12 'network':10,67 'npm':39,56 'orbiting.observer':41,50 'orbiting.observer/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':40 'orbiting.observer/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':49 'port':20 'rule':23 'screenshot':28 'setup':31 'still':72 'sure':14 'tri':52 'well':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://orbiting.observer/comment/498601"
+editedAt: DateTimeImmutable @1729259544 {#4113
date: 2024-10-18 15:52:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706490983 {#4114
date: 2024-01-29 02:16:23.0 +01:00
}
} |
|
Show voter details
|
33 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
34 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4169
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4115
+user: Proxies\__CG__\App\Entity\User {#4116 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
If you have any kind of firewall on your network, you might make sure it’s not blocking that port with a rule. Here’s a couple screenshots from my setup in case that helps.\n
\n
The config in NPM\n
\n
\n
\n
The config in HA’s configuration.yaml\n
\n
\n
\n
Try adding just the NPM IP and HA IP first, then add the docker internal network as well if you still have issues.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706490983 {#4112
date: 2024-01-29 02:16:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4119 …}
+votes: Doctrine\ORM\PersistentCollection {#4121 …}
+reports: Doctrine\ORM\PersistentCollection {#4123 …}
+favourites: Doctrine\ORM\PersistentCollection {#4125 …}
+notifications: Doctrine\ORM\PersistentCollection {#4127 …}
-id: 348511
-bodyTs: "'/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':42 '/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':51 'ad':53 'add':63 'block':18 'case':33 'config':37,44 'configuration.yaml':48 'coupl':27 'docker':65 'firewal':7 'first':61 'ha':46,59 'help':35 'intern':66 'ip':57,60 'issu':74 'kind':5 'make':13 'might':12 'network':10,67 'npm':39,56 'orbiting.observer':41,50 'orbiting.observer/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':40 'orbiting.observer/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':49 'port':20 'rule':23 'screenshot':28 'setup':31 'still':72 'sure':14 'tri':52 'well':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://orbiting.observer/comment/498601"
+editedAt: DateTimeImmutable @1729259544 {#4113
date: 2024-10-18 15:52:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706490983 {#4114
date: 2024-01-29 02:16:23.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "Thanks for the configuration example. Unfortunately it doesn’t seem to work for me. I’ve replied to someone above with screenshots of what my configuration now looks like. The `base_url` option you use there wasn’t available to me because it apparently has been deprecated and replaced with `internal_url` and `external_url`."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521523 {#4167
date: 2024-01-29 10:45:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@emuspawn@orbiting.observer"
]
+children: Doctrine\ORM\PersistentCollection {#4170 …}
+nested: Doctrine\ORM\PersistentCollection {#4172 …}
+votes: Doctrine\ORM\PersistentCollection {#4174 …}
+reports: Doctrine\ORM\PersistentCollection {#4176 …}
+favourites: Doctrine\ORM\PersistentCollection {#4178 …}
+notifications: Doctrine\ORM\PersistentCollection {#4180 …}
-id: 349375
-bodyTs: "'appar':44 'avail':39 'base':31 'configur':4,26 'deprec':47 'doesn':8 'exampl':5 'extern':54 'intern':51 'like':29 'look':28 'option':33 'replac':49 'repli':17 'screenshot':22 'seem':10 'someon':19 'thank':1 'unfortun':6 'url':32,52,55 'use':35 've':16 'wasn':37 'work':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7248019"
+editedAt: null
+createdAt: DateTimeImmutable @1706521523 {#4168
date: 2024-01-29 10:45:23.0 +01:00
}
} |
|
Show voter details
|
35 |
DENIED
|
edit
|
App\Entity\EntryComment {#4169
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4115
+user: Proxies\__CG__\App\Entity\User {#4116 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
If you have any kind of firewall on your network, you might make sure it’s not blocking that port with a rule. Here’s a couple screenshots from my setup in case that helps.\n
\n
The config in NPM\n
\n
\n
\n
The config in HA’s configuration.yaml\n
\n
\n
\n
Try adding just the NPM IP and HA IP first, then add the docker internal network as well if you still have issues.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706490983 {#4112
date: 2024-01-29 02:16:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4119 …}
+votes: Doctrine\ORM\PersistentCollection {#4121 …}
+reports: Doctrine\ORM\PersistentCollection {#4123 …}
+favourites: Doctrine\ORM\PersistentCollection {#4125 …}
+notifications: Doctrine\ORM\PersistentCollection {#4127 …}
-id: 348511
-bodyTs: "'/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':42 '/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':51 'ad':53 'add':63 'block':18 'case':33 'config':37,44 'configuration.yaml':48 'coupl':27 'docker':65 'firewal':7 'first':61 'ha':46,59 'help':35 'intern':66 'ip':57,60 'issu':74 'kind':5 'make':13 'might':12 'network':10,67 'npm':39,56 'orbiting.observer':41,50 'orbiting.observer/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':40 'orbiting.observer/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':49 'port':20 'rule':23 'screenshot':28 'setup':31 'still':72 'sure':14 'tri':52 'well':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://orbiting.observer/comment/498601"
+editedAt: DateTimeImmutable @1729259544 {#4113
date: 2024-10-18 15:52:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706490983 {#4114
date: 2024-01-29 02:16:23.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "Thanks for the configuration example. Unfortunately it doesn’t seem to work for me. I’ve replied to someone above with screenshots of what my configuration now looks like. The `base_url` option you use there wasn’t available to me because it apparently has been deprecated and replaced with `internal_url` and `external_url`."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521523 {#4167
date: 2024-01-29 10:45:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@emuspawn@orbiting.observer"
]
+children: Doctrine\ORM\PersistentCollection {#4170 …}
+nested: Doctrine\ORM\PersistentCollection {#4172 …}
+votes: Doctrine\ORM\PersistentCollection {#4174 …}
+reports: Doctrine\ORM\PersistentCollection {#4176 …}
+favourites: Doctrine\ORM\PersistentCollection {#4178 …}
+notifications: Doctrine\ORM\PersistentCollection {#4180 …}
-id: 349375
-bodyTs: "'appar':44 'avail':39 'base':31 'configur':4,26 'deprec':47 'doesn':8 'exampl':5 'extern':54 'intern':51 'like':29 'look':28 'option':33 'replac':49 'repli':17 'screenshot':22 'seem':10 'someon':19 'thank':1 'unfortun':6 'url':32,52,55 'use':35 've':16 'wasn':37 'work':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7248019"
+editedAt: null
+createdAt: DateTimeImmutable @1706521523 {#4168
date: 2024-01-29 10:45:23.0 +01:00
}
} |
|
Show voter details
|
36 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4169
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Reverse-proxying-from-a-docker-network"
+title: "Reverse-proxying from a docker network"
+url: null
+body: """
Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.\n
\n
I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.\n
\n
Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1729386832 {#2418
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 33702
-titleTs: "'docker':6 'network':7 'proxi':3 'revers':2 'reverse-proxi':1"
-bodyTs: "'anoth':69 'avoid':114 'contain':49 'current':22 'devic':70 'docker':19,38,67,100 'e.g':56 'except':102 'forward':46,93 'found':89 'great':41 'haven':87 'hello':1 'homeassist':57 'host':36,60,95,106 'howev':55 'like':112 'manag':26 'name':50 'network':20,101,107 'nginx':24 'outsid':96 'part':16 'possibl':73 'proxi':13,25,31,80,99 'question':5 'regard':6 'revers':12,30,79 'reverse-proxi':11,29,78 'separ':61 'servic':35,54,83 'set':108 'simpli':45 'sinc':42 'usag':8 'use':23,47,66,75,104 'vm':64 'way':91 'well':85 'work':40 'would':111"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706526490
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/post/13270920"
+editedAt: DateTimeImmutable @1729198869 {#1858
date: 2024-10-17 23:01:09.0 +02:00
}
+createdAt: DateTimeImmutable @1706471490 {#2388
date: 2024-01-28 20:51:30.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4115
+user: Proxies\__CG__\App\Entity\User {#4116 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4049
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4025
+user: App\Entity\User {#3974 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "If the other services are exposed on local ports, you can have NPM forward to those."
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1729386832 {#4034
date: 2024-10-20 03:13:52.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
]
+children: Doctrine\ORM\PersistentCollection {#4023 …}
+nested: Doctrine\ORM\PersistentCollection {#4021 …}
+votes: Doctrine\ORM\PersistentCollection {#4019 …}
+reports: Doctrine\ORM\PersistentCollection {#4017 …}
+favourites: Doctrine\ORM\PersistentCollection {#3985 …}
+notifications: Doctrine\ORM\PersistentCollection {#3989 …}
-id: 347791
-bodyTs: "'expos':6 'forward':14 'local':8 'npm':13 'port':9 'servic':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7108826"
+editedAt: null
+createdAt: DateTimeImmutable @1706471836 {#3966
date: 2024-01-28 20:57:16.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706472978 {#4052
date: 2024-01-28 21:16:18.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4060 …}
+nested: Doctrine\ORM\PersistentCollection {#4064 …}
+votes: Doctrine\ORM\PersistentCollection {#4066 …}
+reports: Doctrine\ORM\PersistentCollection {#4048 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4044 …}
-id: 347829
-bodyTs: "'400':40 '8123':23 'accept':62 'bad':41 'basic':4 'browser':13 'caus':51 'connect':64 'error':43 'expos':2 'forward':29,57 'get':38 'homeassist':18,60 'ip':36 'm':45 'mean':5 'nginx':53 'port':22,32 'reach':9,16 'request':42 'server':35 'somehow':65 'sure':47 'tri':27 'ui':20 'unabl':55 'use':11 'web':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7232928"
+editedAt: null
+createdAt: DateTimeImmutable @1706472978 {#4053
date: 2024-01-28 21:16:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: """
If you have any kind of firewall on your network, you might make sure it’s not blocking that port with a rule. Here’s a couple screenshots from my setup in case that helps.\n
\n
The config in NPM\n
\n
\n
\n
The config in HA’s configuration.yaml\n
\n
\n
\n
Try adding just the NPM IP and HA IP first, then add the docker internal network as well if you still have issues.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1706490983 {#4112
date: 2024-01-29 02:16:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4119 …}
+votes: Doctrine\ORM\PersistentCollection {#4121 …}
+reports: Doctrine\ORM\PersistentCollection {#4123 …}
+favourites: Doctrine\ORM\PersistentCollection {#4125 …}
+notifications: Doctrine\ORM\PersistentCollection {#4127 …}
-id: 348511
-bodyTs: "'/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':42 '/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':51 'ad':53 'add':63 'block':18 'case':33 'config':37,44 'configuration.yaml':48 'coupl':27 'docker':65 'firewal':7 'first':61 'ha':46,59 'help':35 'intern':66 'ip':57,60 'issu':74 'kind':5 'make':13 'might':12 'network':10,67 'npm':39,56 'orbiting.observer':41,50 'orbiting.observer/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png)':40 'orbiting.observer/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png)':49 'port':20 'rule':23 'screenshot':28 'setup':31 'still':72 'sure':14 'tri':52 'well':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://orbiting.observer/comment/498601"
+editedAt: DateTimeImmutable @1729259544 {#4113
date: 2024-10-18 15:52:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706490983 {#4114
date: 2024-01-29 02:16:23.0 +01:00
}
}
+root: App\Entity\EntryComment {#4025}
+body: "Thanks for the configuration example. Unfortunately it doesn’t seem to work for me. I’ve replied to someone above with screenshots of what my configuration now looks like. The `base_url` option you use there wasn’t available to me because it apparently has been deprecated and replaced with `internal_url` and `external_url`."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706521523 {#4167
date: 2024-01-29 10:45:23.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Scrath@lemmy.dbzer0.com"
"@AbouBenAdhem@lemmy.world"
"@emuspawn@orbiting.observer"
]
+children: Doctrine\ORM\PersistentCollection {#4170 …}
+nested: Doctrine\ORM\PersistentCollection {#4172 …}
+votes: Doctrine\ORM\PersistentCollection {#4174 …}
+reports: Doctrine\ORM\PersistentCollection {#4176 …}
+favourites: Doctrine\ORM\PersistentCollection {#4178 …}
+notifications: Doctrine\ORM\PersistentCollection {#4180 …}
-id: 349375
-bodyTs: "'appar':44 'avail':39 'base':31 'configur':4,26 'deprec':47 'doesn':8 'exampl':5 'extern':54 'intern':51 'like':29 'look':28 'option':33 'replac':49 'repli':17 'screenshot':22 'seem':10 'someon':19 'thank':1 'unfortun':6 'url':32,52,55 'use':35 've':16 'wasn':37 'work':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.dbzer0.com/comment/7248019"
+editedAt: null
+createdAt: DateTimeImmutable @1706521523 {#4168
date: 2024-01-29 10:45:23.0 +01:00
}
} |
|
Show voter details
|
37 |
DENIED
|
edit
|
App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#274
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#268
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
} |
|
Show voter details
|