How to add nginx on already existing apache 2.2 SSL, centosHow to enable mod_rewrite for Apache 2.2How to get .pem file from .key and .crt files?SSL certificate rejected trying to access GitHub over HTTPS behind firewallRuby on Rails Server optionsNode.js + Nginx - What now?How to generate CSR for SSL that works with Nginx & Apache?nginx - nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)Nginx load balance with upstream SSLFrom inside of a Docker container, how do I connect to the localhost of the machine?nginx reverse proxy with nodejs and apache over SSL

A particular customize with green line and letters for subfloat

Why are there no referendums in the US?

How do I find the solutions of the following equation?

Where does the Z80 processor start executing from?

Is exact Kanji stroke length important?

Proof of work - lottery approach

Anatomically Correct Strange Women In Ponds Distributing Swords

India just shot down a satellite from the ground. At what altitude range is the resulting debris field?

How long to clear the 'suck zone' of a turbofan after start is initiated?

Implement the Thanos sorting algorithm

Did the DC-9 ever use RATO in revenue service?

Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?

Is there a korbon needed for conversion?

How did Arya survive the stabbing?

How does buying out courses with grant money work?

Escape a backup date in a file name

How to pronounce the slash sign

How do we know the LHC results are robust?

How to safely derail a train during transit?

Why escape if the_content isnt?

How do scammers retract money, while you can’t?

Is this apparent Class Action settlement a spam message?

How to Reset Passwords on Multiple Websites Easily?

Would this custom Sorcerer variant that can only learn any verbal-component-only spell be unbalanced?



How to add nginx on already existing apache 2.2 SSL, centos


How to enable mod_rewrite for Apache 2.2How to get .pem file from .key and .crt files?SSL certificate rejected trying to access GitHub over HTTPS behind firewallRuby on Rails Server optionsNode.js + Nginx - What now?How to generate CSR for SSL that works with Nginx & Apache?nginx - nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)Nginx load balance with upstream SSLFrom inside of a Docker container, how do I connect to the localhost of the machine?nginx reverse proxy with nodejs and apache over SSL













0















I want to include nginx over Apache, but my apache is already using certbot SSL certificate and listens to port 443, how to include nginx in it?










share|improve this question




























    0















    I want to include nginx over Apache, but my apache is already using certbot SSL certificate and listens to port 443, how to include nginx in it?










    share|improve this question


























      0












      0








      0








      I want to include nginx over Apache, but my apache is already using certbot SSL certificate and listens to port 443, how to include nginx in it?










      share|improve this question
















      I want to include nginx over Apache, but my apache is already using certbot SSL certificate and listens to port 443, how to include nginx in it?







      apache ssl nginx centos






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 8 at 11:40







      Shadow

















      asked Mar 8 at 11:20









      ShadowShadow

      14




      14






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The best practice is use nginx as reverse proxy to apache.
          By this, you can use apache to listen on port 80, and setup let's encrypt on nginx, so the ssl traffic will be handled by nginx.



          Have a look some docs on Nginx Reverse Proxy






          share|improve this answer























          • Thanks. People suggested to me that it's not a good combo and I should move to nginx only which I did.

            – Shadow
            Mar 9 at 8:54










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55062168%2fhow-to-add-nginx-on-already-existing-apache-2-2-ssl-centos%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The best practice is use nginx as reverse proxy to apache.
          By this, you can use apache to listen on port 80, and setup let's encrypt on nginx, so the ssl traffic will be handled by nginx.



          Have a look some docs on Nginx Reverse Proxy






          share|improve this answer























          • Thanks. People suggested to me that it's not a good combo and I should move to nginx only which I did.

            – Shadow
            Mar 9 at 8:54















          0














          The best practice is use nginx as reverse proxy to apache.
          By this, you can use apache to listen on port 80, and setup let's encrypt on nginx, so the ssl traffic will be handled by nginx.



          Have a look some docs on Nginx Reverse Proxy






          share|improve this answer























          • Thanks. People suggested to me that it's not a good combo and I should move to nginx only which I did.

            – Shadow
            Mar 9 at 8:54













          0












          0








          0







          The best practice is use nginx as reverse proxy to apache.
          By this, you can use apache to listen on port 80, and setup let's encrypt on nginx, so the ssl traffic will be handled by nginx.



          Have a look some docs on Nginx Reverse Proxy






          share|improve this answer













          The best practice is use nginx as reverse proxy to apache.
          By this, you can use apache to listen on port 80, and setup let's encrypt on nginx, so the ssl traffic will be handled by nginx.



          Have a look some docs on Nginx Reverse Proxy







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 9 at 2:13









          Arief KarfiantoArief Karfianto

          1085




          1085












          • Thanks. People suggested to me that it's not a good combo and I should move to nginx only which I did.

            – Shadow
            Mar 9 at 8:54

















          • Thanks. People suggested to me that it's not a good combo and I should move to nginx only which I did.

            – Shadow
            Mar 9 at 8:54
















          Thanks. People suggested to me that it's not a good combo and I should move to nginx only which I did.

          – Shadow
          Mar 9 at 8:54





          Thanks. People suggested to me that it's not a good combo and I should move to nginx only which I did.

          – Shadow
          Mar 9 at 8:54



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55062168%2fhow-to-add-nginx-on-already-existing-apache-2-2-ssl-centos%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

          Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

          2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived