I recently install Nginx
on my server lab, after seeing several videos Nginx And The LEMP Stack I saw the teacher navigate to /etc/nginx/conf.d/
and vi the default.conf
. I try on my server lab but i can't find the default.conf
at /etc/nginx/conf.d
, the folder was empty but the server is running and i can access the public ip from my internet browser
I am likely using the newest Nginx
, which has been updated since this course came out and is different on CentOS 7
. I need to edit /etc/nginx/nginx.conf
for the current server configuration on CentOS v7.
and for see the complete configuration as nginx use this command line nginx -T
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.