angular / angular

Deliver web apps with confidence 🚀
https://angular.dev
MIT License
95.78k stars 25.29k forks source link

Angular not working under SSL via NgineX #7608

Closed NatuMyers closed 8 years ago

NatuMyers commented 8 years ago

My default file in nginx https://github.com/NatuMyers/nginxSSL-setup/blob/master/default

I used that, then my node app doesn't allow Angular to work, it just serves the static index page, but the routing etc doesn't work. Please help. When it was straight http it worked.

In my file with the node app I have:

app.js generator.json log package.json README.md Gruntfile.js logs private.key rest gulpfile.js models public server.csr intermediate.crt node_modules public.crt stock

in public I have:

angular index.html lib package.json README.md css js node_modules partial-about.html sass font kuv0sc9m.htm npm-debug.log partial-home.html src

When I call node app.js, it just serves index.html without the functionality. Here is a complete github of the set up minus the nginx content: https://github.com/NatuMyers/A.M.E.N.SQL-Stack

This is ubuntu, with Nginx on the digital ocean LAMP stack

NatuMyers commented 8 years ago

I found the answer: http://stackoverflow.com/questions/36003053/angular-not-working-under-ssl-via-nginex

angular-automatic-lock-bot[bot] commented 5 years ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.