This question already has an answer here:

Static contents are not able to deploy in MAGENTO 2.2.0 I have downloaded default setup of magento 2.2.0 and configured using NGINX. After deployment static content are not loaded.

marked as duplicate by Siarhey Uchukhlebau, Manoj Deswal, sv3n, Jai, liyakat Oct 17 '17 at 4:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Nginx config file with this much content:

use this document link: http://devdocs.magento.com/guides/v2.2/install-gde/prereq/nginx.html

I have tested on magento 2.2.0 ,nginx and os Ubuntu 16.04

 upstream fastcgi_backend {
        server  unix:/run/php/php7.0-fpm.sock;

    server {

        listen 80;
        server_name www.magento-dev.com;
        set $MAGE_ROOT /var/www/html/magento2;
        include /var/www/html/magento2/nginx.conf.sample;

Not the answer you're looking for? Browse other questions tagged or ask your own question.