{"id":3050,"date":"2022-10-27T10:46:40","date_gmt":"2022-10-27T10:46:40","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=3050"},"modified":"2022-10-27T10:46:44","modified_gmt":"2022-10-27T10:46:44","slug":"comment-installer-et-configurer-nginx-sur-centos-redhat-7","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/","title":{"rendered":"Comment installer et configurer Nginx sur CentOS\/RedHat 7"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/nginx_centos_fr.jpg\" alt=\"Comment installer et configurer Nginx sur CentOS\/Red Hat 7 alma linux\" class=\"wp-image-3051\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/nginx_centos_fr.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/nginx_centos_fr-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/nginx_centos_fr-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/nginx_centos_fr-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/nginx_centos_fr-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>Nginx est un serveur HTTP libre, open-source, haute performance et reverse proxy, ainsi qu\u2019un serveur proxy IMAP\/POP3. Nginx est connu pour sa stabilit\u00e9, son riche ensemble de fonctionnalit\u00e9s, sa configuration simple et sa faible consommation de ressources.<\/p>\n\n\n\n<p>Ce guide vous montrera comment installer et configurer Nginx sur votre serveur CentOS\/Red Hat 7.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-nginx\">\u00c9tape 1&nbsp;: Installation de Nginx<\/h2>\n\n\n\n<p>Nginx est disponible dans le d\u00e9p\u00f4t CentOS\/RHEL 7 par d\u00e9faut. Pour installer Nginx, ex\u00e9cutez la commande suivante\u00a0:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum install nginx<\/code><\/pre>\n\n\n\n<p>Une fois l\u2019installation termin\u00e9e, d\u00e9marrer le service Nginx et l\u2019activer automatiquement au d\u00e9marrage&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl start nginx\n$ sudo systemctl enable nginx<\/code><\/pre>\n\n\n\n<p>Pour v\u00e9rifier l\u2019\u00e9tat du service Nginx, ex\u00e9cuter la commande suivante&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl status nginx<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configuring-nginx\">\u00c9tape 2&nbsp;: Configuration de Nginx<\/h2>\n\n\n\n<p>Le fichier de configuration principal de Nginx se trouve sur <code>\/etc\/nginx\/nginx.conf<\/code>. Ce fichier contient des directives qui affectent l\u2019ensemble du serveur Nginx.<\/p>\n\n\n\n<p>Le r\u00e9pertoire <code>\/etc\/nginx\/sites-available\/<\/code> contient des fichiers de configuration pour les h\u00f4tes virtuels qui sont disponibles, mais pas encore activ\u00e9s. Le r\u00e9pertoire <code>\/etc\/nginx\/sites-enabled\/<\/code> contient des fichiers de configuration pour les h\u00f4tes virtuels qui sont activ\u00e9s.<\/p>\n\n\n\n<p>Pour cr\u00e9er un nouveau fichier de configuration d\u2019h\u00f4te virtuel dans le r\u00e9pertoire <code>\/etc\/nginx\/sites-available\/<\/code>, ex\u00e9cuter la commande suivante&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo vi \/etc\/nginx\/sites-available\/example.com<\/code><\/pre>\n\n\n\n<p>Remplacez <code>exemple.com<\/code> par votre nom de domaine.<\/p>\n\n\n\n<p>Ajoutez les lignes suivantes au fichier&nbsp;:<\/p>\n\n\n\n<pre title=\"example.com\" class=\"wp-block-code\"><code lang=\"nginx\" class=\"language-nginx\">server {\n    listen 80;\n    listen [::]:80;\n\n    root \/var\/www\/example.com;\n    index index.html;\n\n    server_name example.com www.example.com;\n\n    location \/ {\n        try_files $uri $uri\/ =404;\n    }\n}<\/code><\/pre>\n\n\n\n<p>enregistrez et fermez le fichier.<\/p>\n\n\n\n<p>Pour activer l\u2019h\u00f4te virtuel, cr\u00e9er un lien symbolique \u00e0 partir du r\u00e9pertoire <code>\/etc\/nginx\/sites-enabled\/<\/code> vers le r\u00e9pertoire <code>\/etc\/nginx\/sites-available\/<\/code>&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo ln -s \/etc\/nginx\/sites-available\/example.com \/etc\/nginx\/sites-enabled\/<\/code><\/pre>\n\n\n\n<p>Pour d\u00e9sactiver un h\u00f4te virtuel, supprimer le lien symbolique du r\u00e9pertoire <code>\/etc\/nginx\/sites-enabled\/&nbsp;<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo rm \/etc\/nginx\/sites-enabled\/example.com<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-the-document-root-directory\">\u00c9tape 3&nbsp;: Cr\u00e9ation du r\u00e9pertoire racine du document<\/h2>\n\n\n\n<p>Par d\u00e9faut, le r\u00e9pertoire racine du fichier <code>default.conf<\/code> est <code>\/usr\/share\/nginx\/html<\/code>. Pour les h\u00f4tes virtuels, le r\u00e9pertoire racine du document est sp\u00e9cifi\u00e9 dans la directive root.<\/p>\n\n\n\n<p>Pour cr\u00e9er le r\u00e9pertoire racine du document pour l\u2019h\u00f4te virtuel <code>example.com<\/code>, ex\u00e9cutez la commande suivante&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo mkdir -p \/var\/www\/example.com<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"setting-the-correct-permissions\">D\u00e9finir les autorisations correctes<\/h3>\n\n\n\n<p>Le serveur Web Nginx fonctionne en tant qu\u2019utilisateur <code>nginx<\/code>. Cet utilisateur doit disposer d\u2019autorisations de lecture et d\u2019\u00e9criture pour le r\u00e9pertoire racine du document.<\/p>\n\n\n\n<p>Pour d\u00e9finir les autorisations correctes, ex\u00e9cutez la commande suivante&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo chown -R nginx:nginx \/var\/www\/example.com<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"creating-the-indexhtml-file\">Cr\u00e9ation du fichier index.html<\/h3>\n\n\n\n<p>Le fichier <code>index.html<\/code> est le fichier par d\u00e9faut qui est servi quand un visiteur demande un r\u00e9pertoire au lieu d\u2019un fichier sp\u00e9cifique.<\/p>\n\n\n\n<p>Pour cr\u00e9er le fichier <code>index.html<\/code>, ex\u00e9cutez la commande suivante&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo vi \/var\/www\/example.com\/index.html<\/code><\/pre>\n\n\n\n<p>Ajoutez les lignes suivantes au fichier&nbsp;:<\/p>\n\n\n\n<pre title=\"index.html\" class=\"wp-block-code\"><code lang=\"markup\" class=\"language-markup\">&lt;html&gt;\n    &lt;head&gt;\n        &lt;title&gt;Welcome to Example.com!&lt;\/title&gt;\n    &lt;\/head&gt;\n    &lt;body&gt;\n        &lt;h1&gt;Success!  The example.com server block is working!&lt;\/h1&gt;\n    &lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p>Enregistrez et fermez le fichier.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"testing-your-configuration\">\u00c9tape 4&nbsp;: Tester votre configuration<\/h2>\n\n\n\n<p>Apr\u00e8s avoir cr\u00e9\u00e9 le fichier de configuration de l\u2019h\u00f4te virtuel et le r\u00e9pertoire racine du document, vous pouvez tester votre configuration pour d\u00e9tecter les erreurs de syntaxe en ex\u00e9cutant la commande suivante&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nginx -t<\/code><\/pre>\n\n\n\n<p>Si vous obtenez le message <kbd>Syntaxe OK<\/kbd>, cela signifie que votre configuration est valide.<\/p>\n\n\n\n<p>Pour appliquer les modifications, ex\u00e9cuter la commande suivante&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl restart nginx<\/code><\/pre>\n\n\n\n<p>Vous pouvez maintenant acc\u00e9der \u00e0 votre site Web \u00e0 <code>http:\/\/example.com<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nginx est un serveur HTTP libre, open-source, haute performance et reverse proxy, ainsi qu\u2019un serveur proxy IMAP\/POP3. Nginx est connu pour sa stabilit\u00e9, son riche ensemble de fonctionnalit\u00e9s, sa configuration simple et sa faible consommation de ressources. Ce guide vous montrera comment installer et configurer Nginx sur votre serveur CentOS\/Red Hat 7. \u00c9tape 1&nbsp;: Installation ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[67,41],"tags":[],"yoast_head":"\n<title>Comment installer et configurer Nginx sur CentOS\/RedHat 7 - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"Ce guide vous montrera comment installer et configurer Nginx sur votre serveur CentOS\/RedHat 7 (RHEL) et tester votre configuration.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comment installer et configurer Nginx sur CentOS\/RedHat 7 - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"Ce guide vous montrera comment installer et configurer Nginx sur votre serveur CentOS\/RedHat 7 (RHEL) et tester votre configuration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-27T10:46:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-27T10:46:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/nginx_centos_fr.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"Comment installer et configurer Nginx sur CentOS\/RedHat 7\",\"datePublished\":\"2022-10-27T10:46:40+00:00\",\"dateModified\":\"2022-10-27T10:46:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/\"},\"wordCount\":493,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Administration syst\u00e8me Linux\",\"Serveurs web\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/\",\"name\":\"Comment installer et configurer Nginx sur CentOS\/RedHat 7 - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2022-10-27T10:46:40+00:00\",\"dateModified\":\"2022-10-27T10:46:44+00:00\",\"description\":\"Ce guide vous montrera comment installer et configurer Nginx sur votre serveur CentOS\/RedHat 7 (RHEL) et tester votre configuration.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Comment installer et configurer Nginx sur CentOS\/RedHat 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"Comment installer et configurer Nginx sur CentOS\/RedHat 7 - WebHi Tutorials &amp; Documentations","description":"Ce guide vous montrera comment installer et configurer Nginx sur votre serveur CentOS\/RedHat 7 (RHEL) et tester votre configuration.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/","og_locale":"en_US","og_type":"article","og_title":"Comment installer et configurer Nginx sur CentOS\/RedHat 7 - WebHi Tutorials &amp; Documentations","og_description":"Ce guide vous montrera comment installer et configurer Nginx sur votre serveur CentOS\/RedHat 7 (RHEL) et tester votre configuration.","og_url":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2022-10-27T10:46:40+00:00","article_modified_time":"2022-10-27T10:46:44+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/nginx_centos_fr.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"Comment installer et configurer Nginx sur CentOS\/RedHat 7","datePublished":"2022-10-27T10:46:40+00:00","dateModified":"2022-10-27T10:46:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/"},"wordCount":493,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Administration syst\u00e8me Linux","Serveurs web"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/","url":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/","name":"Comment installer et configurer Nginx sur CentOS\/RedHat 7 - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2022-10-27T10:46:40+00:00","dateModified":"2022-10-27T10:46:44+00:00","description":"Ce guide vous montrera comment installer et configurer Nginx sur votre serveur CentOS\/RedHat 7 (RHEL) et tester votre configuration.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-nginx-sur-centos-redhat-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"Comment installer et configurer Nginx sur CentOS\/RedHat 7"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/3050"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=3050"}],"version-history":[{"count":15,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/3050\/revisions"}],"predecessor-version":[{"id":3090,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/3050\/revisions\/3090"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=3050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=3050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=3050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}