Joshua Muheim
Joshua Muheim

Reputation: 13233

I installed nginx into the wrong directory (using passenger-install-nginx-module)! How do I move it?

When I was prompted by passenger where to install nginx, I entered ~/nginx because I expected that ~/ would be replaced with my home dir. But interestingly, nginx was installed in /home/me/~/nginx!

This is very annoying. So how can I remove the unwanted ~ folder from nginx's path? Should I simply uninstall nginx and reinstall it with an absolute path? How do I make sure that there are no unwanted files left from the first install?

I installed it using gem install passenger and passenger-install-nginx-module.

Upvotes: 0

Views: 128

Answers (1)

Hongli
Hongli

Reputation: 18944

Yes you should uninstall it and reinstall it. That is the only thing you have to do.

Upvotes: 1

Related Questions