nginx - centos的nginx配置在哪里?

标签 nginx centos gitlab

我在 centos 7 中安装了 GitLab,现在我正尝试在 https 上运行 GitLab。根据this article我需要更改 /etc/nginx/sites-enabled/gitlab 中的一些配置指令但是我的系统中没有这样的文件。你能告诉我配置文件在我的案例中的位置吗?我用了this method安装 gitlab。

最佳答案

对于 CentOS,Nginx 配置应该在/etc/nginx/下,对于单独的 block ,它应该在/etc/nginx/conf.d 下

关于nginx - centos的nginx配置在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32399622/

相关文章:

ssh - 用于排除目录和文件的 Zip 命令

windows - Vagrant:将centos文件夹同步到windows

ruby-on-rails - Rails + Puma + Nginx 每隔几天 Bad Gateway 502

linux - 如何停止nginx?它不断杀死一个进程并打开一个具有不同 pid 的新进程

python - uWSGI 不使用 .ini 文件

php - 如何创建 cron 作业以从 Web 运行脚本?

gitlab - 如何在 Gitlab CI 中重用共享 yml 文件中的 before_script?

git - 致命的 : A branch named 'new_branch' already exists

c# - 尽管有效的正则表达式和激活的解析在 gitlab 中没有覆盖率报告

azure - 如何在 Kubernetes (AKS) 中使用 Helm 注释 Ingress Controller 的 Pod?