# Fedora 35 开机自启动 nginx

**URL:** <https://www.isharkfly.com/t/fedora-35-nginx/13948>\
**Category:** DevOps\
**Tags:** linux, nginx\
**Created:** [May 5, 2022, 9:41pm UTC](https://www.isharkfly.com/t/fedora-35-nginx/13948 "2022-05-05T21:41:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [May 5, 2022, 9:41pm UTC](https://www.isharkfly.com/t/fedora-35-nginx/13948/1 "2022-05-05T21:41:22Z")

</div>

Fedora 35 配置开机自动启动 nginx 的方式非常简单。

只需要

`sudo systemctl enable nginx`

运行就可以了。

![4-25](https://www.isharkfly.com/images/transparent.png)

其实所有针对 Fedora 35 版本的服务，都只需要执行上面的命令就可以配置服务让服务开机自动启动了。
