{"id":8767,"date":"2026-09-16T16:21:17","date_gmt":"2026-09-16T15:21:17","guid":{"rendered":"https:\/\/workboot.fr\/ciela\/?page_id=8767"},"modified":"2026-09-16T16:27:53","modified_gmt":"2026-09-16T15:27:53","slug":"nginx-sous-alpine","status":"publish","type":"page","link":"https:\/\/workboot.fr\/ciela\/nginx-sous-alpine\/","title":{"rendered":"nginx sous alpine"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">installation de nginx<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>\napk update\napk add nginx<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">lancer nginx<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>rc-service nginx start  # pour lancer maintenant nginx\nrc-update add nginx default   # pour lancer nginx \u00e0 chaque reboot    del pour enlever <\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">fichier de configuration  pour diriger sur la page \/var\/www\/localhost\/htdocs<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>localhost:\/etc\/nginx\/http.d# cat default.conf \nserver {\n    listen 80 default_server;\n    listen &#91;::]:80 default_server;\n\n    root \/var\/www\/localhost\/htdocs;\n    index index.html;\n\n    location \/ {\n        try_files $uri $uri\/ =404;\n    }\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">relancer le service<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rc-service nginx reload\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>installation de nginx lancer nginx fichier de configuration pour diriger sur la page \/var\/www\/localhost\/htdocs relancer le service<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-8767","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/workboot.fr\/ciela\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"installation de nginx lancer nginx fichier de configuration pour diriger sur la page \/var\/www\/localhost\/htdocs relancer le service","_links":{"self":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/8767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/comments?post=8767"}],"version-history":[{"count":6,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/8767\/revisions"}],"predecessor-version":[{"id":8774,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/8767\/revisions\/8774"}],"wp:attachment":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/media?parent=8767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}