{"id":2130,"date":"2025-05-01T16:27:24","date_gmt":"2025-05-01T14:27:24","guid":{"rendered":"https:\/\/artheodoc.fr\/?p=2130"},"modified":"2025-09-21T14:56:18","modified_gmt":"2025-09-21T12:56:18","slug":"installation-du-nginx-proxy-manager-dans-proxmox-avec-un-script","status":"publish","type":"post","link":"https:\/\/artheodoc.fr\/index.php\/2025\/05\/01\/installation-du-nginx-proxy-manager-dans-proxmox-avec-un-script\/","title":{"rendered":"Installation du Nginx Proxy Manager dans Proxmox avec un script"},"content":{"rendered":"\n<p class=\"has-background\" style=\"background-color:#cfe9f9\"><strong>Nginx Proxy Manager<\/strong> est un outil offrant une interface web pour g\u00e9rer les proxys inverses Nginx. Il permet aux utilisateurs d&rsquo;exposer leurs services sur Internet facilement et en toute s\u00e9curit\u00e9 gr\u00e2ce \u00e0 des fonctionnalit\u00e9s telles que le chiffrement HTTPS, le mappage de domaines et le contr\u00f4le d&rsquo;acc\u00e8s. Il \u00e9limine la configuration manuelle des proxys inverses Nginx, permettant ainsi aux utilisateurs d&rsquo;exposer leurs services au public rapidement et en toute s\u00e9curit\u00e9.<\/p>\n\n\n\n<p>Pour pouvoir cr\u00e9er ce tutoriel, j\u2019ai virtualis\u00e9 Proxmox dans VirtualBox :<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/virtualbox\/\" data-type=\"page\" data-id=\"2104\" target=\"_blank\" rel=\"noreferrer noopener\">VirtualBox<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-large-font-size\">Installation r\u00e9alis\u00e9e \u00e0 l\u2019aide d\u2019un script<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f4f4e4\">OS du conteneur : Debian GNU\/Linux &#8211; Version: 12<\/p>\n\n\n\n<p>Sources : <a href=\"https:\/\/community-scripts.github.io\/ProxmoxVE\/scripts?id=nginxproxymanager\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/community-scripts.github.io\/ProxmoxVE\/scripts?id=nginxproxymanager<\/a><\/p>\n\n\n\n<p>Coller la ligne de commande dans la console Proxmox :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/community-scripts\/ProxmoxVE\/main\/ct\/nginxproxymanager.sh)\"<\/strong><\/pre>\n\n\n\n<p>This will create a New Nginx Proxy Manager LXC. Proceed&nbsp;?&nbsp;: <strong>[Yes]<\/strong><\/p>\n\n\n\n<p>3 Advanced Settings&nbsp;: <strong>[Ok]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>Advanced Settings (pour avoir acc\u00e8s \u00e0 toutes les options).<\/em><\/p>\n\n\n\n<p>To make a selection, use the Spacebar.&nbsp;: <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>1 Unprivileged&nbsp;: <strong>[Ok]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>Unprivileged &#8211; (les conteneurs privil\u00e9gi\u00e9s offrent une compatibilit\u00e9 plus \u00e9lev\u00e9e mais pr\u00e9sentent des<\/em> <em>risques de s\u00e9curit\u00e9 accrus.)<\/em><\/p>\n\n\n\n<p>Set Root password (needed for root ssh access)&nbsp;: <em>Saisir le mot de passe Root<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Verify Root Password&nbsp;: <em>Confirmer le mot de passe Root<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Set Container ID&nbsp;: <em>ID du conteneur<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Set Hostname&nbsp;: <em>nginxproxymanager par d\u00e9faut<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Set Disk Size in GB&nbsp;: <em>4 par d\u00e9faut<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Allocate CPU Cores&nbsp;: <em>2 par d\u00e9faut<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Allocate RAM in MiB&nbsp;: <em>1024 par d\u00e9faut<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Set a Bridge&nbsp;: <em>vmbr<\/em><em><strong>x<\/strong><\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>Le bridge (pont) du serveur Proxmox. Sur le r\u00e9seau local par d\u00e9faut vmbr0, mais on peut \u00eatre derri\u00e8re un pare-feu (IPFire, pfSense, etc.<\/em>)<em>, dans ce cas la passerelle aurait \u00e9t\u00e9 l\u2019interface vmbr<strong>x<\/strong> correspondant \u00e0 ce dernier ( Dans mon cas <strong>vmbr0<\/strong> ou <strong>vmbr100<\/strong>).<\/em><\/p>\n\n\n\n<p>Set a static IPv4 CIDR Address (\/24)&nbsp;: <em><strong>xxx.xxx.xxx.xxx<\/strong><\/em><em>\/<\/em><em><strong>xx<\/strong><\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>J\u2019ai saisi l\u2019adresse IPV4 pour le ReverseProxy avec le CIDR. Cette adresse peut \u00eatre sur le r\u00e9seau local ou sur le r\u00e9seau se trouvant derri\u00e8re un pare-feu (la passerelle doit \u00eatre adapt\u00e9e selon le cas.).<\/em><\/p>\n\n\n\n<p>Enter gateway ip address&nbsp;: <em><strong>xxx.xxx.xxx.xxx<\/strong><\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>Pour la passerelle, on peut saisir l\u2019adresse IP du vmbr<strong>x<\/strong> sur le r\u00e9seau local (souvent vmbr0 par d\u00e9faut). Attention, si vous avez install\u00e9 un pare-feu, ce sera le vmbr<strong>x<\/strong> correspondant \u00e0 la carte r\u00e9seau derri\u00e8re ce dernier.<\/em><\/p>\n\n\n\n<p>Set APT-Cacher IP ( leave blank for none )&nbsp;: <em>Laiss\u00e9 vide<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Disable IPv6&nbsp;: <strong>[Yes]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>J\u2019ai d\u00e9sactiv\u00e9 l\u2019IPV6.<\/em><\/p>\n\n\n\n<p>Set Interface MTU Size ( leave blank for default [ The MTU of your selected vmbr, default is 1500 ] )&nbsp;: <em>Laiss\u00e9 vide<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em><strong>MTU <\/strong>signifie \u00ab\u00a0Maximum Transmission Unit\u00a0\u00bb (Unit\u00e9 de Transmission Maximale). Il s&rsquo;agit de la taille maximale, en octets, d&rsquo;un paquet de donn\u00e9es qui peut \u00eatre envoy\u00e9 sur un r\u00e9seau. La valeur standard de la MTU pour les r\u00e9seaux Ethernet est g\u00e9n\u00e9ralement de <strong>1500 octets<\/strong><\/em>.<\/p>\n\n\n\n<p>Set a DNS Search Domain ( leave blank for HOST )&nbsp;: <em>Laiss\u00e9 vide<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Set a DNS Server IP ( leave blank for HOST )&nbsp;: <em><strong>xxx.xxx.xxx.xxx<\/strong><\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p><em>J\u2019ai saisi l\u2019IP du routeur\/box.<\/em><\/p>\n\n\n\n<p>Set a MAC Address ( leave blank for generated MAC)&nbsp;: <em>Laiss\u00e9 vide<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Set a Vlan ( leave blank for no VLAN)&nbsp;: <em>Laiss\u00e9 vide<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Set Custom Tags&nbsp;? [ If you remove all, there will be no tags&nbsp;! ]&nbsp;: <em><strong>community-script;proxy<\/strong><\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>J\u2019ai laiss\u00e9 les options par d\u00e9faut.<\/em><\/p>\n\n\n\n<p>Enable Root SSH Access&nbsp;?&nbsp;: <strong>[Yes]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>J\u2019ai activ\u00e9 l\u2019acc\u00e8s SSH en Root.<\/em><\/p>\n\n\n\n<p>SSH Authorized key for root ( leave empty for none)&nbsp;: <em>Laiss\u00e9 vide<\/em> <strong>[Ok]<\/strong><\/p>\n\n\n\n<p>Enable Verbose Mode&nbsp;? <strong>[Yes]<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em>J\u2019ai activ\u00e9 le mode verbeux.<\/em><\/p>\n\n\n\n<p>Ready to create Nginx Proxy Manager LXC&nbsp;? <strong>[Yes]<\/strong><\/p>\n\n\n\n<p>Au message \u00ab&nbsp;Would you like to installa an older version (v2.10.4)&nbsp;?&nbsp;\u00bb pour npm&nbsp;: <strong>y<\/strong><\/p>\n\n\n\n<p class=\"has-pale-ocean-gradient-background has-background\"><em><strong>Npm<\/strong>, qui signifie Node Package Manager, est un gestionnaire de paquets pour le langage de programmation JavaScript. <strong>Pnpm<\/strong> est un autre gestionnaire de paquets pour JavaScript, similaire \u00e0 npm, mais avec quelques diff\u00e9rences notables qui le rendent unique.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-group has-background is-layout-constrained wp-block-group-is-layout-constrained\" style=\"background-color:#cfe9f9\">\n<p class=\"has-medium-font-size\"><strong>Quand c\u2019est termin\u00e9, je peux acc\u00e9der \u00e0 l\u2019interface WEB du Proxy Inverse :<\/strong><\/p>\n\n\n\n<p>http:\/\/<em>ip_du_reverse_proxy<\/em>:81<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Identifiants de connexion par d\u00e9faut :<\/strong><\/p>\n\n\n\n<p>Username: <strong>admin@example.com<\/strong><\/p>\n\n\n\n<p>Password: <strong>changeme<\/strong><\/p>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nginx Proxy Manager est un outil offrant une interface web pour g\u00e9rer les proxys inverses Nginx. Il permet aux utilisateurs d&rsquo;exposer leurs services sur Internet facilement et en toute s\u00e9curit\u00e9 gr\u00e2ce \u00e0 des fonctionnalit\u00e9s telles que le chiffrement HTTPS, le mappage de domaines et le contr\u00f4le d&rsquo;acc\u00e8s. Il \u00e9limine la configuration manuelle des proxys inverses [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[57],"tags":[102,103,58],"class_list":["post-2130","post","type-post","status-publish","format-standard","hentry","category-proxmox","tag-nginx","tag-nginx-proxy-manager","tag-proxmox"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/2130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=2130"}],"version-history":[{"count":11,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/2130\/revisions"}],"predecessor-version":[{"id":2469,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/2130\/revisions\/2469"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=2130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/categories?post=2130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/tags?post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}