Answer the question
In order to leave comments, you need to log in
Why does apache2 stub open instead of nginx hello?
I install ubuntu-18.04 on a virtual machine using vagrant.
Content of vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-18.04"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.synced_folder "C:/vagrant/projects", "/var/www"
end
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
<b>Active: active (running) </b>since Mon 2018-08-06 19:55:03 UTC; 5min ago
Docs: man:nginx(8)
Process: 1519 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/ngin
Process: 1528 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/
Process: 1523 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited,
Main PID: 1531 (nginx)
Tasks: 2 (limit: 1135)
CGroup: /system.slice/nginx.service
├─1531 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
└─1533 nginx: worker process
Answer the question
In order to leave comments, you need to log in
disable apache `sudo systemctl stop apache2`
but first, run htop, make sure there are apache2 processes there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question